]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 27 Jun 2015 15:39:21 +0000 (15:39 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 27 Jun 2015 15:39:21 +0000 (15:39 +0000)
coders/tga.c

index b38de54dda650c034baf2a1c87c77af33eaea59d..f4a7d13ee7370db8d3cdb39c91daedaa4203475a 100644 (file)
@@ -514,9 +514,11 @@ static Image *ReadTGAImage(const ImageInfo *image_info,
         SetPixelAlpha(image,ClampToQuantum(pixel.alpha),q);
       q+=GetPixelChannels(image);
     }
-    if (((unsigned char) (tga_info.attributes & 0xc0) >> 6) == 4)
-      offset+=4;
-    else
+    /*
+      if (((unsigned char) (tga_info.attributes & 0xc0) >> 6) == 4)
+        offset+=4;
+      else
+    */
       if (((unsigned char) (tga_info.attributes & 0xc0) >> 6) == 2)
         offset+=2;
       else