opj_jp2_check_color(): replace assertion regarding mtyp by runtime check (#672, ...
authorEven Rouault <even.rouault@spatialys.com>
Thu, 27 Jul 2017 16:51:51 +0000 (18:51 +0200)
committerEven Rouault <even.rouault@spatialys.com>
Thu, 27 Jul 2017 16:52:35 +0000 (18:52 +0200)
commit178194c093422c9564efc41f9ecb5c630b43f723
treea10944936b4e4546aa28d9e9908763be060bbfe7
parentd6fa30099797c68c6a67decf58571dd59dbf734b
opj_jp2_check_color(): replace assertion regarding mtyp by runtime check (#672, #895)

Fixes test case openjeg-crashes-2017-07-27/id:000000,sig:06,src:000001,op:flip1,pos:808.jp2
of #895
src/lib/openjp2/jp2.c