From: cristy Date: Sat, 27 Jun 2015 15:39:21 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~847 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd56a387d42af261b6c42dc8f7bc7df4ba7e636b;p=imagemagick --- diff --git a/coders/tga.c b/coders/tga.c index b38de54dd..f4a7d13ee 100644 --- a/coders/tga.c +++ b/coders/tga.c @@ -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