avcodec/jpeg2000dec: check sample sepration for validity
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 7 Aug 2013 13:02:38 +0000 (15:02 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 7 Aug 2013 13:09:35 +0000 (15:09 +0200)
commit5cd57e8758e336e86698d4994ee088077869e42d
treeeb073d58d1ac4cccb02ecc25194ea8578339f4a8
parente4eab2d9bde330b9893a3291cb0d00c626a9ee8c
avcodec/jpeg2000dec: check sample sepration for validity

Fixes division by 0
Fixes Ticket2841

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