avcodec/h264_cavlc: Fix undefined behavior on qscale overflow
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 22 Apr 2017 19:59:29 +0000 (21:59 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 22 Apr 2017 20:26:00 +0000 (22:26 +0200)
commitfc8cff96ed45dfdb91ed03e9942845f28be0e770
treecb8261f875cb4cb1c736c4d5e7580fdf4179801d
parent207e6debf866ae4f8bdf864a5f389ef42660324d
avcodec/h264_cavlc: Fix undefined behavior on qscale overflow

Fixes: 1214/clusterfuzz-testcase-minimized-6130606599569408

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