This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 0b817b04f0f4c9db281db37debea3c32a3db5f5e
Author:     Baptiste Coudurier <[email protected]>
AuthorDate: Thu Nov 12 19:00:08 2026 -0800
Commit:     Baptiste Coudurier <[email protected]>
CommitDate: Wed Nov 18 06:05:52 2026 +0000

    tests/checkasm/lls: pass an order below indep_count to evaluate_lls
    
    order indexes coeff[], so order == MAX_VARS read past it.
    Also test order - 1 to keep covering the odd-length SSE2 tail.
    Fixes #25991.
    
    Signed-off-by: Baptiste Coudurier <[email protected]>
---
 tests/checkasm/lls.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/tests/checkasm/lls.c b/tests/checkasm/lls.c
index 0670941403..3d53380ca6 100644
--- a/tests/checkasm/lls.c
+++ b/tests/checkasm/lls.c
@@ -69,7 +69,7 @@ static void test_evaluate(LLSModel *lls, const double *param, 
int order)
         fail();
     }
 
-    if (order == lls->indep_count)
+    if (order == lls->indep_count - 1)
         bench_new(lls, param, order);
 }
 
@@ -90,8 +90,10 @@ void checkasm_check_lls(void)
             test_update(&lls, var);
         for (size_t j = 0; j <= i; j++)
             if (check_func(lls.evaluate_lls, "evaluate_lls_%d_%d", counts[i],
-                           counts[j]))
-                test_evaluate(&lls, param + 1, counts[j]);
+                           counts[j])) {
+                test_evaluate(&lls, param + 1, counts[j] - 2);
+                test_evaluate(&lls, param + 1, counts[j] - 1);
+            }
     }
     report("lls");
 }

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to