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

Git pushed a commit to branch master
in repository ffmpeg.

commit 8e6a5f19880d0bc5f20bad315f042841e3b21a49
Author:     Gyula Sebok <[email protected]>
AuthorDate: Fri Oct 23 02:03:13 2026 +0200
Commit:     Martin Storsjö <[email protected]>
CommitDate: Tue Nov 3 18:33:02 2026 +0000

    tests/checkasm/llviddsp: Fix operator precedence in the random width
    
    1 + rnd() % 16*128 is parsed as 1 + (rnd() % 16) * 128, which only
    gives 16 different widths, all of them 1 modulo 128. Use 1..2048, as
    intended in 78193e6490.
    
    Signed-off-by: Gyula Sebok <[email protected]>
---
 tests/checkasm/llviddsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/checkasm/llviddsp.c b/tests/checkasm/llviddsp.c
index bc1b137091..17291452fe 100644
--- a/tests/checkasm/llviddsp.c
+++ b/tests/checkasm/llviddsp.c
@@ -193,7 +193,7 @@ void checkasm_check_llviddsp(void)
     int accRnd = rnd() & 0xFF;
 
     size_t align = av_cpu_max_align();
-    int width  = 1 + rnd() % 16*128;
+    int width  = 1 + rnd() % (16 * 128);
     size_t aligned_width = FFALIGN(width, align);
 
     ff_llviddsp_init(&c);

-- 
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