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>
Thu, 22 Jun 2017 01:08:44 +0000 (03:08 +0200)
commit80dc5b497e5d1f4bd66792e80c9bbbfb23c9cfb7
treec9a43032fd787bd8b551309b5b7edc4f82bc93c3
parentdd4fd80fe68bb083a7293216480aa37d0fd7c14c
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