avcodec/ffv1dec_template: Fix runtime error: signed integer overflow: 202 + 214748361...
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 23 May 2017 01:24:49 +0000 (03:24 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 23 May 2017 01:25:21 +0000 (03:25 +0200)
commit9726e9f80934202e761870e95d40e8c591208459
tree982ef0bb2dc061ea75f9ed2583ec48fbf835e05d
parent2002436b0c914e18eda4f45ef816b14501a1dbae
avcodec/ffv1dec_template: Fix runtime error: signed integer overflow: 202 + 2147483615 cannot be represented in type 'int'

Fixes: 1748/clusterfuzz-testcase-minimized-6690208340770816

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