avcodec/jpeg2000dec: fix error detection in pix_fmt_match()
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 20 Jan 2014 17:40:37 +0000 (18:40 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 20 Jan 2014 17:46:38 +0000 (18:46 +0100)
commit8001e9f7d17e90b4b0898ba64e3b8bbd716c513c
tree00fc0d931515a2611ad27eb0527511a38d840697
parent723e7b86ea4d117c34a121512eddbcb32743b96e
avcodec/jpeg2000dec: fix error detection in pix_fmt_match()

Fixes out of array accesses with CODEC_FLAG_EMU_EDGE

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