mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-22 05:04:46 +03:00
initialize the unpackers
This commit is contained in:
parent
a97e08abd2
commit
afb386915d
|
@ -365,6 +365,8 @@ int ImagingLibTiffDecode(Imaging im, ImagingCodecState state, UINT8* buffer, Py_
|
|||
UINT8 planes = 1;
|
||||
ImagingShuffler unpackers[4];
|
||||
|
||||
memset(unpackers, 0, sizeof(ImagingShuffler *) * 4);
|
||||
|
||||
/* buffer is the encoded file, bytes is the length of the encoded file */
|
||||
/* it all ends up in state->buffer, which is a uint8* from Imaging.h */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user