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

Git pushed a commit to branch release/8.1
in repository ffmpeg.

commit 0eefb66ddf76b29f6289b1dfc1a696827e0fd0e0
Author:     Zhao Zhili <[email protected]>
AuthorDate: Sun Nov 15 02:19:20 2026 +0800
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Mon Nov 30 06:20:49 2026 +0100

    avcodec/mediacodecenc: fix memleak of the private extradata
    
    Signed-off-by: Zhao Zhili <[email protected]>
    (cherry picked from commit 67ffeb92cb5d1bce4806f9a9fc1f84425be35aef)
    Signed-off-by: Michael Niedermayer <[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