avcodec/fic: Check coefficients
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 May 2017 19:32:56 +0000 (21:32 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 May 2017 22:42:20 +0000 (00:42 +0200)
commit548459080b1bd698a2e475e5d177b6e7d2538537
tree7d45fca379bacf888dc9244af1b0dfc4f4d30348
parentd3088e0fd8749788818cb5df92abaa3b12e409e1
avcodec/fic: Check coefficients

Fixes: signed integer overflow: 1258291200 * 2 cannot be represented in type 'int'
Fixes: 1413/clusterfuzz-testcase-minimized-5923451770503168

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