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>
Wed, 31 Jan 2018 21:56:14 +0000 (22:56 +0100)
commit107606260c4c4b764ccdfa52ef13cbb429b7ef10
tree667d17357b42b822461be8b6e1198bd6f6afe0fb
parent4e5351940fe6a089c980079c2662c67a900992a2
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