avcodec/h264_cabac: Fix runtime error: negation of -2147483648 cannot be represented...
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 15 Mar 2017 02:48:59 +0000 (03:48 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 16 Mar 2017 15:16:05 +0000 (16:16 +0100)
commita3a408259912e6d9337837c5d63c4b826778530f
tree41c1be877ae38353b06e8b148e6f14f3e13ae4cb
parent2898bc522da6adebda5cbbd9036defe22e3b9bcf
avcodec/h264_cabac: Fix runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself

Fixes: 858/clusterfuzz-testcase-5168477042114560

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_cabac.c