avcodec/takdec: Fix runtime error: signed integer overflow: 2146548196 + 2156738...
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 May 2017 20:19:23 +0000 (22:19 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 May 2017 20:19:52 +0000 (22:19 +0200)
commitf95f9f975598262d7acdf9f4611bd1e775203f7b
tree65e6244e0e8979fc95475e510139dd06739e3cd1
parent0ce7cf0c86a2744ddfe21cb0983ff572ed07ab69
avcodec/takdec: Fix runtime error: signed integer overflow: 2146548196 + 2156738 cannot be represented in type 'int'

Fixes: 1743/clusterfuzz-testcase-minimized-4994834022531072

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