Fix incorrect decoding of image with large number of progression levels 1448/head
authorEven Rouault <even.rouault@spatialys.com>
Tue, 18 Oct 2022 21:03:02 +0000 (23:03 +0200)
committerEven Rouault <even.rouault@spatialys.com>
Tue, 18 Oct 2022 21:03:05 +0000 (23:03 +0200)
commit6ab3ca69fd278f0c7830568ab2b15aa43cdb87fa
treef21192418a7699f18a9ab004fcb346d51fdbc45f
parentbe95561917aa9b1d8ea4614820a534917cfa6bbe
Fix incorrect decoding of image with large number of progression levels

Fixes regression introduced per d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b

Fixes #1447
src/lib/openjp2/opj_intmath.h
src/lib/openjp2/pi.c