]> git.pld-linux.org Git - packages/libtiff.git/commitdiff
- fix work with one alpha channel
authorundefine <undefine@pld-linux.org>
Wed, 29 Dec 2004 18:09:12 +0000 (18:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- by Jan Kanty Palus <atler@o2.pl>

Changed files:
    libtiff-alpha.patch -> 1.1

libtiff-alpha.patch [new file with mode: 0644]

diff --git a/libtiff-alpha.patch b/libtiff-alpha.patch
new file mode 100644 (file)
index 0000000..18d0eae
--- /dev/null
@@ -0,0 +1,11 @@
+--- tiff-3.7.1.orig/libtiff/tif_getimage.c     2004-12-29 12:54:15.146006632 +0100
++++ tiff-3.7.1/libtiff/tif_getimage.c  2004-12-29 12:54:55.329897752 +0100
+@@ -247,7 +247,7 @@
+     TIFFGetFieldDefaulted(tif, TIFFTAG_SAMPLESPERPIXEL, &img->samplesperpixel);
+     TIFFGetFieldDefaulted(tif, TIFFTAG_EXTRASAMPLES,
+       &extrasamples, &sampleinfo);
+-    if (extrasamples > 1)
++    if (extrasamples >= 1)
+     {
+       switch (sampleinfo[0]) {
+       case EXTRASAMPLE_UNSPECIFIED:   /* Workaround for some images without */
This page took 0.032951 seconds and 4 git commands to generate.