avcodec/cfhd: Fix undefined shift
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 21 Jun 2017 15:56:34 +0000 (17:56 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 21 Jun 2017 23:54:40 +0000 (01:54 +0200)
commit5a950f4e32a9756391f81987246d96b6549dd447
treeec4e03438bdb65b727169c3c91f187fbbe86a332
parent5cae5a1defa360da076365a786093a749d1ddf4e
avcodec/cfhd: Fix undefined shift

Fixes: runtime error: left shift of negative value -1
Fixes: 2303/clusterfuzz-testcase-minimized-5529675273076736

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