initialize the unpackers

This commit is contained in:
Eric Soroos 2020-12-31 14:35:26 +01:00
parent 64500434c2
commit 77a1a9aba3

View File

@ -412,6 +412,8 @@ ImagingLibTiffDecode(
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 */