Petr Gajdos
75ad3872a9
* Add some TIFF/FX support in libtiff. * Fix bug rewriting image tiles in a compressed file. * Fix read past end of data buffer. * etc., see ChangeLog - removed upstreamed patches: * bigendian.patch * dont-fancy-upsampling.patch * CVE-2012-3401.patch - new patch: * test-jpeg-turbo.patch * CVE-2012-4564.patch [bnc#787892] OBS-URL: https://build.opensuse.org/package/show/graphics/tiff?expand=0&rev=51
13 lines
545 B
Diff
13 lines
545 B
Diff
diff -urN tiff-4.0.1.orig/tools/tiff2pdf.c tiff-4.0.1/tools/tiff2pdf.c
|
|
--- tiff-4.0.1.orig/tools/tiff2pdf.c 2012-03-29 01:03:15.656848587 +0800
|
|
+++ tiff-4.0.1/tools/tiff2pdf.c 2012-03-29 01:03:27.591699381 +0800
|
|
@@ -4991,7 +4991,7 @@
|
|
|
|
if(t2p->tiff_photometric != PHOTOMETRIC_YCBCR) {
|
|
written += t2pWriteFile(output, (tdata_t) "/DecodeParms ", 13);
|
|
- written += t2pWriteFile(output, (tdata_t) "<< /ColorTransform 0 >>\n", 24);
|
|
+ written += t2pWriteFile(output, (tdata_t) "<< /ColorTransform 1 >>\n", 24);
|
|
}
|
|
break;
|
|
#endif
|