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

Git pushed a commit to branch master
in repository ffmpeg.

commit a0e01bcee1cdf505bbcaf5fe7319387a35940fd8
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Thu Aug 6 04:30:31 2026 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sun Aug 9 16:31:09 2026 +0200

    tests/checkasm/sbcdsp: Zero-init SBCDSPContext
    
    ff_sbcdsp_init() checks SBCDSPContext.increment to set
    sbc_analyze_8s (which is not tested), leading to Valgrind
    errors.
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 tests/checkasm/sbcdsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/checkasm/sbcdsp.c b/tests/checkasm/sbcdsp.c
index 528b7eec67..5eb0d1b3db 100644
--- a/tests/checkasm/sbcdsp.c
+++ b/tests/checkasm/sbcdsp.c
@@ -108,7 +108,7 @@ static void check_sbc_calc_scalefactors(const SBCDSPContext 
*const sbcdsp, int b
 
 void checkasm_check_sbcdsp(void)
 {
-    SBCDSPContext sbcdsp;
+    SBCDSPContext sbcdsp = { 0 };
     int blocks = ((const int[]){4, 8, 12, 15, 16})[rnd() % 5];
 
     ff_sbcdsp_init(&sbcdsp);

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

Reply via email to