avcodec/jpeg2000dec: Check Psot
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 14 Jun 2013 17:16:47 +0000 (19:16 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 14 Jun 2013 17:34:00 +0000 (19:34 +0200)
commit5deb96c5641c58d4c1a820971347c3f76cc945d4
tree95220e165f272b4e04ef8cddab4acca068843b97
parenta75d2a6505bf85c947a2428bd2f18f0bb6d0fcd1
avcodec/jpeg2000dec: Check Psot

Fixes out of array read

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/jpeg2000dec.c