avcodec/jpeg2000dec: Check reslevelno in RPCL
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 15 Jun 2015 01:00:53 +0000 (03:00 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 15 Jun 2015 01:00:53 +0000 (03:00 +0200)
commit5b0f55aab9d5802556e7b3a09c50b77a3220b658
treecdc847d0f1a3980c30b78fb073ff1eebddd2511c
parenta58f1bcc4cbe41747ed88f6abc0b01932ba238a9
avcodec/jpeg2000dec: Check reslevelno in RPCL

Fixes out of array read
Fixes Ticket4627

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/jpeg2000dec.c