Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Amend fix of PR 1530 regarding m_sot_length check
The fix of 2c0823c (#1530) broke decoding of some JPEG2000 files where Isot==0, Psot==0, TPsot==0 and TNsot==0 like the following ones from the GDAL autotest suite: autotest/gdrivers/data/jpeg2000/stefan_full_rgba_alpha_1bit.jp2 autotest/gdrivers/data/jpeg2000/3_13bit_and_1bit.jp2
- Loading branch information