avcodec/jpeg2000dec: Port tile size check from j2kdec
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 22 May 2013 01:12:44 +0000 (03:12 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 22 May 2013 01:16:52 +0000 (03:16 +0200)
commit53f04424646d8f5cbac915717f2604ad516b4881
tree12fbf75bef967f63a874bdbae6d5291f095d699f
parent73ffab41959a17650d552dceefbb11e524a430d4
avcodec/jpeg2000dec: Port tile size check from j2kdec

Fixes potential integer overflow

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