summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-02-01 10:03:22 -0300
committerJames Almer <jamrial@gmail.com>2024-02-01 10:04:14 -0300
commitbf62ddc7bf7a54f3a50e66dbd9b1edc70b5773ef (patch)
tree7fc53691249f426efb68fca0c4c55cda4bb58f50
parent4720cf56caa02ea1ac32c7f428c6967e26dc10bd (diff)
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@gmail.com>
-rw-r--r--libavcodec/x86/vvc/vvc_mc.asm2
1 files changed, 1 insertions, 1 deletions
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