mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-04 21:23:10 +03:00
initialize the unpackers
This commit is contained in:
parent
64500434c2
commit
77a1a9aba3
|
@ -412,6 +412,8 @@ ImagingLibTiffDecode(
|
||||||
UINT8 planes = 1;
|
UINT8 planes = 1;
|
||||||
ImagingShuffler unpackers[4];
|
ImagingShuffler unpackers[4];
|
||||||
|
|
||||||
|
memset(unpackers, 0, sizeof(ImagingShuffler *) * 4);
|
||||||
|
|
||||||
/* buffer is the encoded file, bytes is the length of the encoded file */
|
/* 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 */
|
/* it all ends up in state->buffer, which is a uint8* from Imaging.h */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user