avcodec/cfhd: Fix invalid left shift of negative value
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 28 Jun 2017 18:47:59 +0000 (20:47 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 19 Jul 2017 00:49:03 +0000 (02:49 +0200)
commitd986096963fc8b5b18173678fe2a8c50bb9d3311
tree1ebe0ddb91b7c2b2930623fe4f8b3edff91173fa
parent20ce366feefc19db931ba26f3fe61c632fa0d484
avcodec/cfhd: Fix invalid left shift of negative value

Fixes: runtime error: left shift of negative value -1
Fixes: 2395/clusterfuzz-testcase-minimized-6540529313513472

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