This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.0 in repository ffmpeg.
commit 83c2e80f804e5f65be0266b5da587b6010a9940a Author: Jeongkeun Kim <[email protected]> AuthorDate: Tue Apr 28 13:51:25 2026 +0900 Commit: Michael Niedermayer <[email protected]> CommitDate: Tue Jul 21 22:59:49 2026 +0200 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]> (cherry picked from commit 2be6bf55079ea512717153f6df673391e9563e78) Signed-off-by: Michael Niedermayer <[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]
