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

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 2be6bf5507 tests/checkasm/llviddsp: fix add_left_pred_int16 buffer 
compare size
2be6bf5507 is described below

commit 2be6bf55079ea512717153f6df673391e9563e78
Author:     Jeongkeun Kim <[email protected]>
AuthorDate: Tue Apr 28 13:51:25 2026 +0900
Commit:     Martin Storsjö <[email protected]>
CommitDate: Mon Jun 29 21:40:05 2026 +0000

    tests/checkasm/llviddsp: fix add_left_pred_int16 buffer compare size
    
    dst0/dst1 are uint16_t* allocated as width * sizeof(uint16_t), but
    the memcmp at the end of check_add_left_pred_16 only compared `width`
    bytes — missing the second half of each buffer. Same pattern used
    correctly in tests/checkasm/huffyuvdsp.c (memcmp with width * sizeof()).
    
    While at it, fix missing whitespace around & and || on the same line.
    
    Fixes: fbe91487797c ("checkasm/llviddsp : add test for other dsp func")
    Signed-off-by: Jeongkeun Kim <[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 a8245b0d94..1094638229 100644
--- a/tests/checkasm/llviddsp.c
+++ b/tests/checkasm/llviddsp.c
@@ -145,7 +145,7 @@ static void check_add_left_pred_16(LLVidDSPContext *c, 
unsigned mask, int width,
 
     res0 = call_ref(dst0, src0, mask, width, acc);
     res1 = call_new(dst1, src1, mask, width, acc);
-    if ((res0 &0xFFFF) != (res1 &0xFFFF)|| memcmp(dst0, dst1, width))
+    if ((res0 & 0xFFFF) != (res1 & 0xFFFF) || memcmp(dst0, dst1, width * 
sizeof(*dst0)))
         fail();
     bench_new(dst1, src1, mask, width, acc);
 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to