mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 20:10:09 +01:00
x86/lossless_videodsp: don't overread the dst buffer in ff_add_left_pred_unaligned_avx2
Fixes valgrind Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -154,8 +154,7 @@ MEDIAN_PRED
|
|||||||
add wq, mmsize
|
add wq, mmsize
|
||||||
jl %%.loop
|
jl %%.loop
|
||||||
%if mmsize == 32
|
%if mmsize == 32
|
||||||
mov eax, [dstq -1]
|
movzx eax, byte [dstq - 1]
|
||||||
and eax, 0xff
|
|
||||||
%else;
|
%else;
|
||||||
mov eax, mmsize-1
|
mov eax, mmsize-1
|
||||||
sub eax, wd
|
sub eax, wd
|
||||||
|
|||||||
Reference in New Issue
Block a user