This commit is contained in:
Eric Soroos 2021-01-11 20:57:08 +01:00
parent 6e57481a35
commit 3c6a3fa4b3

View File

@ -509,7 +509,7 @@ ImagingLibTiffDecode(
// if number of bands is 1, there is no difference with contig case // if number of bands is 1, there is no difference with contig case
if (planarconfig == PLANARCONFIG_SEPARATE && if (planarconfig == PLANARCONFIG_SEPARATE &&
im->bands > 1 && im->bands > 1 &&
isYCbCr) { !isYCbCr) {
uint16 bits_per_sample = 8; uint16 bits_per_sample = 8;