Skip to content

Commit

Permalink
Merge f3e3af6 into 9158838
Browse files Browse the repository at this point in the history
  • Loading branch information
cgohlke committed Sep 21, 2014
2 parents 9158838 + f3e3af6 commit cc93cf8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libImaging/TiffDecode.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,10 @@ int ImagingLibTiffDecode(Imaging im, ImagingCodecState state, UINT8* buffer, int
}

if (clientstate->ifd){
unsigned int ifdoffset = clientstate->ifd;
int rv;
unsigned int ifdoffset = clientstate->ifd;
TRACE(("reading tiff ifd %d\n", ifdoffset));
int rv = TIFFSetSubDirectory(tiff, ifdoffset);
rv = TIFFSetSubDirectory(tiff, ifdoffset);
if (!rv){
TRACE(("error in TIFFSetSubDirectory"));
return -1;
Expand Down

0 comments on commit cc93cf8

Please sign in to comment.