Fix 2.2.0 regression when reading codestream with reperated calls to opj_get_decoded_...
authorEven Rouault <even.rouault@spatialys.com>
Wed, 6 Sep 2017 14:49:28 +0000 (16:49 +0200)
committerEven Rouault <even.rouault@spatialys.com>
Wed, 6 Sep 2017 14:49:28 +0000 (16:49 +0200)
commit297f202104fc0ff6b0627e15e7e6883c915f80bf
treeb801d9153e27c8d5899d2e2fe881f7de92ff9744
parent003759a4829f3f1baa5a2292956618fecf314818
Fix 2.2.0 regression when reading codestream with reperated calls to opj_get_decoded_tile() where tile parts of a same tile are not consecutive

This check was introduced per #939, but relied on the incorrect assumption
we decode all the tile parts of all tiles.
src/lib/openjp2/j2k.c