avcodec/jpeg2000dec: Limit x/y step to 1<<30
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 24 Jun 2015 22:43:49 +0000 (00:43 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 24 Jun 2015 22:43:49 +0000 (00:43 +0200)
commit9ff5e7974a8fe32c3b595a481c06a41fa316a9ac
tree72d84b5465d2570bf7863e65df19a5b7b7ee765f
parent67fc898243736d01ae03113ade4e8eace59ceb53
avcodec/jpeg2000dec: Limit x/y step to 1<<30

Fixes infinite loop
Fixes Ticket4663

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