avcodec/diracdec: Fix overflow in DC computation
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 9 Sep 2017 23:32:50 +0000 (01:32 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 11 Sep 2017 10:23:53 +0000 (12:23 +0200)
commitb5995856a4236c27f231210bb08d70688e045192
treeffe0887b1a71578d58df1dcfc9603522b0deaa71
parent8e17cd20b9cd189b18c73d10391a7729edf44070
avcodec/diracdec: Fix overflow in DC computation

Fixes: runtime error: signed integer overflow: 11896 + 2147483646 cannot be represented in type 'int'
Fixes: 3053/clusterfuzz-testcase-minimized-6355082062856192

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