Merge pull request #9564 from saskatchewancatch:i9550

This commit is contained in:
Alexander Alekhin 2017-09-06 08:29:16 +00:00
commit b05789ff0b

View File

@ -235,7 +235,7 @@ bool TiffDecoder::readHeader()
m_hdr = false;
if( bpp > 8 &&
((photometric != 2 && photometric != 1) ||
((photometric > 2) ||
(ncn != 1 && ncn != 3 && ncn != 4)))
bpp = 8;