avcodec/jpeg2000dec: Check that coords match before applying ICT
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 8 Jun 2015 22:37:26 +0000 (00:37 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 8 Jun 2015 23:02:05 +0000 (01:02 +0200)
commit12ba1b2b4d5592c0e27b0fcc83db929e8d6a8eee
tree1d691c628679f4695505fa228586c94c248c12be
parent028c59c17b14751e049a05abbdac52f885ad96a2
avcodec/jpeg2000dec: Check that coords match before applying ICT

This avoid potential out of array accesses

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