avcodec/ac3dec_fixed: Fix integer overflow in scale_coefs()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 13 Jan 2018 23:39:39 +0000 (00:39 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 15 Jan 2018 18:55:22 +0000 (19:55 +0100)
commita1f38c75893c852cf19dcf3e4553549ba1e70950
treef233099e01190d2a7de8d5644b791d5953e6372c
parentcbbb2067341d7c2d98f560f81c6fb103af33a490
avcodec/ac3dec_fixed: Fix integer overflow in scale_coefs()

Fixes: runtime error: signed integer overflow: 2147483520 + 128 cannot be represented in type 'int'
Fixes: 4800/clusterfuzz-testcase-minimized-6110372403609600

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