diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2016-05-24 18:41:52 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2016-06-14 00:56:03 +0200 |
commit | 4d7bf58d137d884e4eb0e81fd576031f069105cb (patch) | |
tree | 01d01a9de9c7c9a2d51c8061cbd642ebb4728de1 /include | |
parent | 163c30cf09bfc9e02abbc85fd02905ee9136abb4 (diff) | |
download | mupdf-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.h | 2 |
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 |