avcodec/mpeg4videodec: Fix integer overflow in num_sprite_warping_points=2 case
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 14 Jun 2017 21:49:23 +0000 (23:49 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 14 Jun 2017 22:16:20 +0000 (00:16 +0200)
commit0a87be404ab7e3f47e67e79160dcc9623e36835b
treef0339525da1b121d0ec233e447252a43de98df7b
parent900fe8ee5d17b8f2bd2bd5f1fdd62cf992525bc8
avcodec/mpeg4videodec: Fix integer overflow in num_sprite_warping_points=2 case

Fixes: runtime error: signed integer overflow: 131072 + 2147352576 cannot be represented in type 'int'
Fixes: 2192/clusterfuzz-testcase-minimized-5370387988742144

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