avcodec/cavs: Fix runtime error: signed integer overflow: -12648062 * 256 cannot...
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 5 Jun 2017 17:33:56 +0000 (19:33 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 5 Jun 2017 21:16:54 +0000 (23:16 +0200)
commitdbe771e50de5db0d4d23e6df5e0469bb43611a3a
treec69599c842154b641170cb5867e8a2663c116b3d
parente447d3143faab23da9cbe3a7dbf4adec100f938a
avcodec/cavs: Fix runtime error: signed integer overflow: -12648062 * 256 cannot be represented in type 'int'

Fixes: 2067/clusterfuzz-testcase-minimized-5578430902960128

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 1e6ee86d9254e8fd2158cc9a31d3be96b0809411)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/cavs.c