summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-stream.c
diff options
context:
space:
mode:
authorSimon Bünzli <zeniko@gmail.com>2013-08-30 16:07:53 +0200
committerRobin Watts <robin.watts@artifex.com>2013-09-10 14:09:02 +0100
commitfa56dd76da7aa65862ee1db0b1147c899f2e8144 (patch)
treef94efe8801a8137cb159ca967e972344ce340020 /source/pdf/pdf-stream.c
parent527afcaa0744472d7ad2ef84ce79ab34a036ad85 (diff)
downloadmupdf-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.c2
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"))