Commit a4fc63c0 authored by James Almer's avatar James Almer

x86/lossless_videodsp: don't overread the dst buffer in ff_add_left_pred_unaligned_avx2

Fixes valgrind
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent f20c8f6e
......@@ -154,8 +154,7 @@ MEDIAN_PRED
add wq, mmsize
jl %%.loop
%if mmsize == 32
mov eax, [dstq -1]
and eax, 0xff
movzx eax, byte [dstq - 1]
%else;
mov eax, mmsize-1
sub eax, wd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment