mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-25 08:10:33 +03:00
Use flag instead of recalculating
This commit is contained in:
parent
fda638befe
commit
c9ea87ecfd
|
@ -516,7 +516,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 &&
|
||||||
photometric != PHOTOMETRIC_YCBCR) {
|
isYCbCr) {
|
||||||
|
|
||||||
uint16 bits_per_sample = 8;
|
uint16 bits_per_sample = 8;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user