From 526195e0a3933ee01c2e0a3ee44452302e21031d Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Tue, 31 Mar 2026 16:02:54 +0200 Subject: [PATCH] swscale/x86/ops_float: fix typo in linear_row First vector is %2, not %3. This was never triggered before because all of the existing masks never hit this exact case. Signed-off-by: Niklas Haas --- libswscale/x86/ops_float.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libswscale/x86/ops_float.asm b/libswscale/x86/ops_float.asm index 75ee0cf7f7..4f09ab846e 100644 --- a/libswscale/x86/ops_float.asm +++ b/libswscale/x86/ops_float.asm @@ -327,7 +327,7 @@ op dither%1 IF COL(2), mulps m14, %4 IF COL(3), mulps m15, %5 IF COL(0), addps %1, m12 - IF NOP(0) && COL(4), addps %1, %3 ; first vector was not reused + IF NOP(0) && COL(4), addps %1, %2 ; first vector was not reused IF COL(1), addps %1, m13 IF NOP(1), addps %1, %3 IF COL(2), addps %1, m14