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>
Thu, 7 Dec 2017 22:38:06 +0000 (23:38 +0100)
commit2e58db3db00bca0e815c3f725fa1bb4eda918b19
tree7c8274cfc65a583221ce892090b20a10e266a531
parent4942de6f9385b5221fb5f230573e954709cb82d6
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>
(cherry picked from commit 7d88586e4728e97349f98e07ff782bb168ab96c3)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/hevcdsp_template.c