avcodec/takdec: Fix multiple runtime error: signed integer overflow: -512 * 4563386...
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 20 May 2017 15:52:21 +0000 (17:52 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 May 2017 19:20:04 +0000 (21:20 +0200)
commit64d0dad93c18a517e92d152fdf7cbf92f1cf0a68
treec3fe556844d868ff4de8d212d2fcc7278caa2d8b
parent42e42af76cff46c4e1a41dd8de992b38880f78be
avcodec/takdec: Fix multiple runtime error: signed integer overflow: -512 * 4563386 cannot be represented in type 'int'

Fixes: 1706/clusterfuzz-testcase-minimized-6112772670619648

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