Petr Gajdos
3cc206640a
(see http://bugzilla.maptools.org/show_bug.cgi?id=2228) [bnc#624215] * scanlinesize.patch - fixed crash while using libjpeg7 and higher * dont-fancy-upsampling.patch OBS-URL: https://build.opensuse.org/package/show/graphics/tiff?expand=0&rev=23
13 lines
529 B
Diff
13 lines
529 B
Diff
Index: tiff-3.9.4/libtiff/tif_jpeg.c
|
|
===================================================================
|
|
--- tiff-3.9.4.orig/libtiff/tif_jpeg.c
|
|
+++ tiff-3.9.4/libtiff/tif_jpeg.c
|
|
@@ -850,6 +850,7 @@ JPEGPreDecode(TIFF* tif, tsample_t s)
|
|
if (downsampled_output) {
|
|
/* Need to use raw-data interface to libjpeg */
|
|
sp->cinfo.d.raw_data_out = TRUE;
|
|
+ sp->cinfo.d.do_fancy_upsampling = FALSE;
|
|
tif->tif_decoderow = JPEGDecodeRaw;
|
|
tif->tif_decodestrip = JPEGDecodeRaw;
|
|
tif->tif_decodetile = JPEGDecodeRaw;
|