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, 24 Dec 2013 00:05:46 +0000 (01:05 +0100)
commit47f8497837ebbb6877ab9d199f66f655017b769c
treeaa6157927b1f77bf0b818b3ba4ebf65d56cb3d9e
parent93f26b79926cf311784ce939ba570cf282e15b5c
avcodec/jpeg2000dec: fix context consistency with too large lowres

Fixes out of array accesses
Fixes Ticket2898

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit a1b9004b768bef606ee98d417bceb9392ceb788d)

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