removed some deadend attempts that should have been rolled back once the ifd offset was passed in args.\nThere should be no changes to Tile or clientstate->loc for this code.

This commit is contained in:
Kenny Ostrom 2014-08-26 10:09:23 -05:00
parent a437d75163
commit d0e51650e3
2 changed files with 2 additions and 2 deletions

View File

@ -903,7 +903,7 @@ class TiffImageFile(ImageFile.ImageFile):
self.tile.append(
(self._compression,
(0, 0, w, ysize),
self.ifd.offset, a))
0, a))
a = None
else:

View File

@ -193,7 +193,7 @@ int ImagingLibTiffDecode(Imaging im, ImagingCodecState state, UINT8* buffer, int
dump_state(clientstate);
clientstate->size = bytes;
clientstate->eof = clientstate->size;
//clientstate->loc = 0;
clientstate->loc = 0;
clientstate->data = (tdata_t)buffer;
clientstate->flrealloc = 0;
dump_state(clientstate);