summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2016-05-24 18:41:52 +0200
committerSebastian Rasmussen <sebras@gmail.com>2016-06-14 00:56:03 +0200
commit4d7bf58d137d884e4eb0e81fd576031f069105cb (patch)
tree01d01a9de9c7c9a2d51c8061cbd642ebb4728de1 /include
parent163c30cf09bfc9e02abbc85fd02905ee9136abb4 (diff)
downloadmupdf-4d7bf58d137d884e4eb0e81fd576031f069105cb.tar.xz
Add optional support for Luratech JBIG2 decoder.
If thirdparty/luratech is populated then this decoder will be preferred over jbig2dec (even if both are present).
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/filter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/fitz/filter.h b/include/mupdf/fitz/filter.h
index 8d5c6eb2..b5fcf525 100644
--- a/include/mupdf/fitz/filter.h
+++ b/include/mupdf/fitz/filter.h
@@ -27,7 +27,7 @@ fz_stream *fz_open_lzwd(fz_context *ctx, fz_stream *chain, int early_change, int
fz_stream *fz_open_predict(fz_context *ctx, fz_stream *chain, int predictor, int columns, int colors, int bpc);
fz_stream *fz_open_jbig2d(fz_context *ctx, fz_stream *chain, fz_jbig2_globals *globals);
-fz_jbig2_globals *fz_load_jbig2_globals(fz_context *ctx, unsigned char *data, int size);
+fz_jbig2_globals *fz_load_jbig2_globals(fz_context *ctx, fz_buffer *buf);
void fz_drop_jbig2_globals_imp(fz_context *ctx, fz_storable *globals);
#endif