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

Git pushed a commit to branch master
in repository ffmpeg.

commit 90215634f1e44dc5191d570ad955759968aecc66
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Tue Mar 24 13:17:39 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sat Mar 28 11:25:38 2026 +0100

    avcodec/sbcenc: Remove redundant memset()
    
    A codec's private context is zero-allocated.
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/sbcenc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/sbcenc.c b/libavcodec/sbcenc.c
index 6c59a8902c..bc2f844789 100644
--- a/libavcodec/sbcenc.c
+++ b/libavcodec/sbcenc.c
@@ -272,7 +272,6 @@ static av_cold int sbc_encode_init(AVCodecContext *avctx)
     frame->codesize = frame->subbands * frame->blocks * 
avctx->ch_layout.nb_channels * 2;
     frame->crc_ctx = av_crc_get_table(AV_CRC_8_EBU);
 
-    memset(&sbc->dsp.X, 0, sizeof(sbc->dsp.X));
     sbc->dsp.position = (SBC_X_BUFFER_SIZE - frame->subbands * 9) & ~7;
     sbc->dsp.increment = sbc->msbc ? 1 : 4;
     ff_sbcdsp_init(&sbc->dsp);

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

Reply via email to