avcodec/hevc_filter: Fix invalid shift
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 20 Jun 2017 12:38:34 +0000 (14:38 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 19 Jul 2017 13:26:37 +0000 (15:26 +0200)
commit5b8a97d000efe57b898d64c54b366b927eddd162
treed0354a43def1933f6408a8a90c38ada52bd6262e
parentada21bca5551977ab00c5a799b20dbff544ac3f9
avcodec/hevc_filter: Fix invalid shift

Fixes: runtime error: left shift of negative value -1

Fixes: 2299/clusterfuzz-testcase-minimized-4843509351710720

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 d7b3d5c3f2e2ff1994762b5e09c05fbc33790b5b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/hevc_filter.c