avcodec/jpeg2000dec: fix context consistency with too large lowres
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 15 Oct 2013 11:15:47 +0000 (13:15 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 15 Oct 2013 12:30:17 +0000 (14:30 +0200)
commita1b9004b768bef606ee98d417bceb9392ceb788d
tree7586795b0b69797589b9904fbe35fe6b09fe1ebf
parent0a6ce255ab49094e90aa5c7c76c46e0dccd5708d
avcodec/jpeg2000dec: fix context consistency with too large lowres

Fixes out of array accesses
Fixes Ticket2898

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