avcodec/dirac_dwt: Fix overflows in COMPOSE_HAARiH0/COMPOSE_HAARiL0
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 7 Jan 2018 19:58:49 +0000 (20:58 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 Jan 2018 20:50:15 +0000 (21:50 +0100)
commit0e62a2373475f58c72c0faf5568be00b26909585
tree1918c0981cdad068ea9dbb8e0d67b4b164e26ba7
parenteaa93175895568ef6c2542b13104874907d9c4ef
avcodec/dirac_dwt: Fix overflows in COMPOSE_HAARiH0/COMPOSE_HAARiL0

Fixes: 4830/clusterfuzz-testcase-minimized-5255392054476800
Fixes: signed integer overflow: 2147483646 - -7 cannot be represented in type 'int'

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dirac_dwt.h