From: cristy Date: Wed, 25 Jan 2012 00:55:46 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6308 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00170cd087644e432cd22a93a1c6162ca767f15b;p=imagemagick --- diff --git a/coders/tiff.c b/coders/tiff.c index cdfcbb47b..612b1bdc9 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -627,10 +627,10 @@ static void TIFFGetEXIFProperties(TIFF *tiff,Image *image, /* Read EXIF properties. */ + offset=0; if (TIFFGetField(tiff,TIFFTAG_EXIFIFD,&offset) == 0) return; directory=TIFFCurrentDirectory(tiff); - offset=0; if (TIFFReadEXIFDirectory(tiff,offset) == 0) return; sans=NULL;