diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-08-30 15:23:45 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-09-01 15:39:56 +0200 |
commit | 960cd3d0ffde26f40b81256fe7b309bbaefc5410 (patch) | |
tree | d1b505e03b0388c66337ba004f99cb2fc33aa2ca /source/pdf/pdf-image.c | |
parent | f86e9738deb6c6887fb51f2d11e8294cfc1b51cb (diff) | |
download | mupdf-960cd3d0ffde26f40b81256fe7b309bbaefc5410.tar.xz |
pdf: Load/open streams by indirect reference object when possible.
Diffstat (limited to 'source/pdf/pdf-image.c')
-rw-r--r-- | source/pdf/pdf-image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-image.c b/source/pdf/pdf-image.c index c9c1fdda..d54de34c 100644 --- a/source/pdf/pdf-image.c +++ b/source/pdf/pdf-image.c @@ -221,7 +221,7 @@ pdf_load_jpx(fz_context *ctx, pdf_document *doc, pdf_obj *dict, int forcemask) fz_var(colorspace); fz_var(mask); - buf = pdf_load_stream(ctx, doc, pdf_to_num(ctx, dict)); + buf = pdf_load_stream(ctx, dict); /* FIXME: We can't handle decode arrays for indexed images currently */ fz_try(ctx) |