diff options
author | Simon Bünzli <zeniko@gmail.com> | 2013-08-30 16:07:53 +0200 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-09-10 14:09:02 +0100 |
commit | fa56dd76da7aa65862ee1db0b1147c899f2e8144 (patch) | |
tree | f94efe8801a8137cb159ca967e972344ce340020 /source/pdf/pdf-stream.c | |
parent | 527afcaa0744472d7ad2ef84ce79ab34a036ad85 (diff) | |
download | mupdf-fa56dd76da7aa65862ee1db0b1147c899f2e8144.tar.xz |
support jpegtables for TIFF images
This is required e.g. for 2314 - jpeg tables in tiff.xps.
This folds fz_open_resized_dct back into fz_open_dct instead of adding
further variations for calls with and without the jpegtables argument.
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 88a7559f..bf7f64f2 100644 --- a/source/pdf/pdf-stream.c +++ b/source/pdf/pdf-stream.c @@ -108,7 +108,7 @@ build_filter(fz_stream *chain, pdf_document *doc, pdf_obj *f, pdf_obj *p, int nu params->u.jpeg.color_transform = (ct ? pdf_to_int(ct) : -1); return chain; } - return fz_open_dctd(chain, ct ? pdf_to_int(ct) : -1); + return fz_open_dctd(chain, ct ? pdf_to_int(ct) : -1, 0, NULL); } else if (!strcmp(s, "RunLengthDecode") || !strcmp(s, "RL")) |