j2kdec: Fix integer overflow leading to a segfault
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 16 Dec 2011 03:16:01 +0000 (04:16 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 12 Jan 2012 20:52:31 +0000 (21:52 +0100)
commit56173eabb6fb508574150098ac835b3b3e6a8569
tree4220ade2559130fac5df51316c7cd3cf6bf1280f
parentd80db23e7d3130ee5f5f6fff7e6db3274cdd6a98
j2kdec: Fix integer overflow leading to a segfault
Fixes Ticket776
Bug found by: Diana Elena Muscalu

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 1f99939a6361e2e6d6788494dd7c682b051c6c34)

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