mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-07 22:04:46 +03:00
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:
parent
a437d75163
commit
d0e51650e3
|
@ -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:
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user