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 /source/pdf/pdf-stream.c | |
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 'source/pdf/pdf-stream.c')
-rw-r--r-- | source/pdf/pdf-stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-stream.c b/source/pdf/pdf-stream.c index 167db0a7..6e64ae63 100644 --- a/source/pdf/pdf-stream.c +++ b/source/pdf/pdf-stream.c @@ -69,7 +69,7 @@ pdf_load_jbig2_globals(fz_context *ctx, pdf_document *doc, pdf_obj *dict) fz_try(ctx) { buf = pdf_load_stream(ctx, doc, pdf_to_num(ctx, dict), pdf_to_gen(ctx, dict)); - globals = fz_load_jbig2_globals(ctx, buf->data, buf->len); + globals = fz_load_jbig2_globals(ctx, buf); pdf_store_item(ctx, dict, globals, buf->len); } fz_always(ctx) |