[FFmpeg-cvslog] x86/vvc/vvc_mc: set the correct number of used registers in vvc_w_avg functions
James Almer
git at videolan.org
Thu Feb 1 15:04:32 EET 2024
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Feb 1 10:03:22 2024 -0300| [bf62ddc7bf7a54f3a50e66dbd9b1edc70b5773ef] | committer: James Almer
x86/vvc/vvc_mc: set the correct number of used registers in vvc_w_avg functions
Fixes crashes when running fate-vvc-conformance-WP_A_3 on Win64 targets
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bf62ddc7bf7a54f3a50e66dbd9b1edc70b5773ef
---
libavcodec/x86/vvc/vvc_mc.asm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/x86/vvc/vvc_mc.asm b/libavcodec/x86/vvc/vvc_mc.asm
index 948883b61b..fab1f57ba5 100644
--- a/libavcodec/x86/vvc/vvc_mc.asm
+++ b/libavcodec/x86/vvc/vvc_mc.asm
@@ -243,7 +243,7 @@ cglobal vvc_avg_%1bpc, 4, 7, 5, dst, stride, src0, src1, w, h, bd
; const int16_t *src0, const int16_t *src1, intptr_t width, intptr_t height,
; intptr_t denom, intptr_t w0, intptr_t w1, intptr_t o0, intptr_t o1, intptr_t pixel_max);
%macro VVC_W_AVG_AVX2 1
-cglobal vvc_w_avg_%1bpc, 4, 7, 8, dst, stride, src0, src1, w, h, t0, t1
+cglobal vvc_w_avg_%1bpc, 4, 8, 8, dst, stride, src0, src1, w, h, t0, t1
movifnidn hd, hm
More information about the ffmpeg-cvslog
mailing list