Merge pull request #2648 from ifeherva/master

Fixed bc5 decoding
This commit is contained in:
wiredfool 2017-08-16 11:42:31 +01:00 committed by GitHub
commit 3b0f183d5c

View File

@ -815,6 +815,7 @@ static int decode_bcn(Imaging im, ImagingCodecState state, const UINT8* src, int
case NN: \
while (bytes >= SZ) { \
TY col[16]; \
memset(col, 0, 16 * sizeof(col[0])); \
decode_bc##NN##_block(col, ptr); \
put_block(im, state, (const char *)col, sizeof(col[0]), C); \
ptr += SZ; \