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>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commit05a92668942f1a7bb04815e88043ed5c24d068c0
tree2af50faa8b8b4b5c5f751f09bd7bf5db52991f8f
parente2edfff9a8f1e0d10af1251f3c90eb806d841c7e
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>
(cherry picked from commit b2be76c0a472b729756ed7a91225c209d0dd1d2e)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dnxhddec.c