13 lines
449 B
Diff
13 lines
449 B
Diff
|
diff -Naur tiff-3.9.2.orig/libtiff/tif_getimage.c tiff-3.9.2/libtiff/tif_getimage.c
|
||
|
--- tiff-3.9.2.orig/libtiff/tif_getimage.c 2009-08-30 12:21:46.000000000 -0400
|
||
|
+++ tiff-3.9.2/libtiff/tif_getimage.c 2010-06-11 12:06:47.000000000 -0400
|
||
|
@@ -2397,7 +2397,7 @@
|
||
|
}
|
||
|
break;
|
||
|
case PHOTOMETRIC_YCBCR:
|
||
|
- if (img->bitspersample == 8)
|
||
|
+ if ((img->bitspersample==8) && (img->samplesperpixel==3))
|
||
|
{
|
||
|
if (initYCbCrConversion(img)!=0)
|
||
|
{
|