avcodec/hevcdsp_template: Fix undefined shift in put_hevc_qpel_bi_w_hv()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 15 Dec 2017 12:06:30 +0000 (13:06 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 19 Feb 2018 01:40:54 +0000 (02:40 +0100)
commitb7f48cd0444ba62fc21fe64b50f737d363c4bffe
treeb9a8504230e9c387d138dbc14179814c94e9bba4
parent95139c4480b009f4f506d815e1340d931d2ade19
avcodec/hevcdsp_template: Fix undefined shift in put_hevc_qpel_bi_w_hv()

Fixes: runtime error: left shift of negative value -3
Fixes: 4524/clusterfuzz-testcase-minimized-6055590120914944

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