avcodec/vp9block: fix runtime error: signed integer overflow: 196675 * 20670 cannot...
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 21 May 2017 00:12:21 +0000 (02:12 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 21 May 2017 13:39:07 +0000 (15:39 +0200)
commitd4ee76780869c659a5d3b0815c56024ab260a81d
treedfd195a8138610aa86eec375cd6fd9ef85230c7c
parentec2b76aab44f55be22eb12d86eb0dfd2eff68581
avcodec/vp9block: fix runtime error: signed integer overflow: 196675 * 20670 cannot be represented in type 'int'

Fixes: 1710/clusterfuzz-testcase-minimized-4837032931098624

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vp9block.c