summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-03-09 01:31:51 +0100
committerTor Andersson <tor@ghostscript.com>2010-03-09 01:31:51 +0100
commit732d0707c35ac18fab146ee97e7faa037ccf465b (patch)
tree767c17b7e84a1ab71a843cb498c6ffbf95aa2b90
parent4f9ecde7bcabe7b162e7cb8f8080135be778abaf (diff)
downloadmupdf-732d0707c35ac18fab146ee97e7faa037ccf465b.tar.xz
Make openjpeg and jbig2dec libraries non-optional.
-rw-r--r--mupdf/pdf_stream.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mupdf/pdf_stream.c b/mupdf/pdf_stream.c
index 03f43508..049c2cb3 100644
--- a/mupdf/pdf_stream.c
+++ b/mupdf/pdf_stream.c
@@ -111,7 +111,6 @@ buildonefilter(pdf_xref * xref, fz_obj * f, fz_obj * p, int num, int gen)
return fz_newlzwd(p);
}
-#ifdef HAVE_JBIG2DEC
else if (!strcmp(s, "JBIG2Decode"))
{
fz_obj *obj = fz_dictgets(p, "JBIG2Globals");
@@ -138,12 +137,9 @@ buildonefilter(pdf_xref * xref, fz_obj * f, fz_obj * p, int num, int gen)
}
return fz_newjbig2d(p);
}
-#endif
-#ifdef HAVE_OPENJPEG
else if (!strcmp(s, "JPXDecode"))
return fz_newjpxd(p);
-#endif
else if (!strcmp(s, "Crypt"))
{