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, 28 Jun 2017 21:39:11 +0000 (23:39 +0200)
commitc709f009dad20d99b28918f4f8d7cd394b838def
treec59ec010263a623502ce3acb07c5e49df74a4f6a
parentbc6ab72bc7af27189e7b524b97e45c6fcadab5cf
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>
libavcodec/cfhd.c