libavcodec/cfhd: Fix signed overflow in shift
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 13 Jul 2018 22:24:47 +0000 (00:24 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 15 Jul 2018 17:42:25 +0000 (19:42 +0200)
commit7334985ffae8067b84884b5bd345db06fe2cc220
tree089f2509b0c20b2db655598ff0155261f1ba78d8
parent5d8df3cc4ac089bb6ed47b944f30f0e2cf9ceb19
libavcodec/cfhd: Fix signed overflow in shift

Fixes: 8695/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-4906172426485760

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