avcodec/dirac_dwt: Fix integer overflow in COMPOSE_FIDELITYi*
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 25 Nov 2017 02:15:16 +0000 (03:15 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 26 Nov 2017 17:35:55 +0000 (18:35 +0100)
commit2b6964f764382742bb052a1ee3b7167cac35332f
treeba28c732cc17fa04589b92e57e3cb67bab9a089a
parente7af1394ecd0e7c237db34ee9c149afff37641dd
avcodec/dirac_dwt: Fix integer overflow in COMPOSE_FIDELITYi*

Fixes: runtime error: signed integer overflow: -2143827186 - 7404944 cannot be represented in type 'int'
Fixes: 4354/clusterfuzz-testcase-minimized-4671122764201984

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