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 67ffeb92cb avcodec/mediacodecenc: fix memleak of the private extradata
67ffeb92cb is described below

commit 67ffeb92cb5d1bce4806f9a9fc1f84425be35aef
Author:     Zhao Zhili <[email protected]>
AuthorDate: Sun Nov 15 02:19:20 2026 +0800
Commit:     Zhao Zhili <[email protected]>
CommitDate: Mon Nov 23 07:58:06 2026 +0000

    avcodec/mediacodecenc: fix memleak of the private extradata
    
    Signed-off-by: Zhao Zhili <[email protected]>
---
 libavcodec/mediacodecenc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/mediacodecenc.c b/libavcodec/mediacodecenc.c
index 507c48df9c..35a2b5337b 100644
--- a/libavcodec/mediacodecenc.c
+++ b/libavcodec/mediacodecenc.c
@@ -1003,6 +1003,7 @@ static av_cold int mediacodec_close(AVCodecContext *avctx)
 
     av_bsf_free(&s->bsf);
     av_frame_free(&s->frame);
+    av_freep(&s->extradata);
 
     mediacodec_uninit_async_state(avctx);
 

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