avcodec/dnxhddec: Check dc vlc
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 3 Jan 2018 22:42:00 +0000 (23:42 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 5 Jan 2018 02:35:48 +0000 (03:35 +0100)
commitb2be76c0a472b729756ed7a91225c209d0dd1d2e
tree03454f93de4071b26ae65ad46202cfc0ae815bf0
parente425047a47b68dd21d50f0d83cfd7ae816268f57
avcodec/dnxhddec: Check dc vlc

Fixes: signed integer overflow: 1024 + 2147483640 cannot be represented in type 'int'
Fixes: 4671/clusterfuzz-testcase-minimized-6027464343027712

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dnxhddec.c