avcodec/hevcdsp_template: Fix invalid shift in put_hevc_epel_bi_w_v()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 17 Nov 2017 21:01:29 +0000 (22:01 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 20 Nov 2017 20:29:00 +0000 (21:29 +0100)
commit7d88586e4728e97349f98e07ff782bb168ab96c3
treeb63620ce5902d08b6916962750bce01de2a7a67c
parent259dc4e01381c0d01fb1dbb8509c5087d621a0d7
avcodec/hevcdsp_template: Fix invalid shift in put_hevc_epel_bi_w_v()

Fixes: runtime error: left shift of negative value -255
Fixes: 4037/clusterfuzz-testcase-minimized-5290998163832832

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/hevcdsp_template.c