avcodec/jpeg2000dec: move bpno check to a earlier place
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 16 Jun 2013 13:27:39 +0000 (15:27 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 16 Jun 2013 13:27:39 +0000 (15:27 +0200)
commit3b8617429014301b26b587a5e537910746d3377a
treed94deea2fe7ace1b15940234386b594e3cb67c9a
parent3e17eec607307ca4340f5f97d7488285b89a3b97
avcodec/jpeg2000dec: move bpno check to a earlier place

This prevents additional integer overflows

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