jpeg2000dec: check TPsot
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 22 May 2013 00:31:03 +0000 (02:31 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 22 May 2013 00:53:21 +0000 (02:53 +0200)
commit73ffab41959a17650d552dceefbb11e524a430d4
treeebe369176c03d03448995f6ff3c1101a4812ee21
parentfec8783883f789802ba6596ce4c324aa5c040754
jpeg2000dec: check TPsot

Fixes out of array accesses

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