avcodec/hevcdsp_template: Fix undefined shift in put_hevc_pel_bi_w_pixels
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 9 Sep 2017 23:32:51 +0000 (01:32 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Jan 2018 21:56:14 +0000 (22:56 +0100)
commitf51fc65d66e1cc422feb9e41988ec4f3e9e24e5c
treecd145514c6b9c3da3ddaf9aa2e7251d32d202d40
parent18e1ef489ab15f95ee3249d302f6ea3509a7a633
avcodec/hevcdsp_template: Fix undefined shift in put_hevc_pel_bi_w_pixels

Fixes: runtime error: left shift of negative value -95
Fixes: 3077/clusterfuzz-testcase-minimized-4684917524922368

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