diff options
author | Simon Bünzli <zeniko@gmail.com> | 2014-01-03 12:42:50 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2014-01-16 15:54:18 +0000 |
commit | 9407e83ff388997fe621232a6190f950bcc263ff (patch) | |
tree | c943b519308ced63d54566c1a0d4970266900a56 /source/fitz | |
parent | 0ba1b9055a18bad2c2249c711d971bfaf1283251 (diff) | |
download | mupdf-9407e83ff388997fe621232a6190f950bcc263ff.tar.xz |
disable JPEG decoding speed-ups to prevent artifacts
Using JDCT_FASTEST as rendering method can produce visible artifacts
(e.g. in 1960_-_DCT_image_wrongly_decoded_regression_from_1.2_.pdf).
Diffstat (limited to 'source/fitz')
-rw-r--r-- | source/fitz/filter-dct.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/fitz/filter-dct.c b/source/fitz/filter-dct.c index f53f00cd..23665909 100644 --- a/source/fitz/filter-dct.c +++ b/source/fitz/filter-dct.c @@ -139,10 +139,6 @@ read_dctd(fz_stream *stm, unsigned char *buf, int len) jpeg_read_header(cinfo, 1); - /* speed up jpeg decoding a bit */ - cinfo->dct_method = JDCT_FASTEST; - cinfo->do_fancy_upsampling = FALSE; - /* default value if ColorTransform is not set */ if (state->color_transform == -1) { |