avcodec/h264_direct: Fix runtime error: signed integer overflow: 2147483647 - -14133...
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 10 Mar 2017 14:24:52 +0000 (15:24 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 14 Mar 2017 01:23:50 +0000 (02:23 +0100)
commita557ae8d52ce1cfaf3be5cdb13728b7b2b9512b9
tree6d7ad2bc0693adbeed63e257e6d98c3b3403b437
parentfbfbd97be25c4da0562ef61e2f27192d1ec4d276
avcodec/h264_direct: Fix runtime error: signed integer overflow: 2147483647 - -14133 cannot be represented in type 'int'

Fixes: 755/clusterfuzz-testcase-5369072516595712

See: [FFmpeg-devel] [PATCH 1/2] avcodec/h264_direct: Fix runtime error: signed integer overflow: 2147483647 - -14133 cannot be represented in type 'int'

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