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

Git pushed a commit to branch master
in repository ffmpeg.

commit 04ff86d0355a58c3d02dbf562ccb708942a29435
Author:     Zhao Zhili <[email protected]>
AuthorDate: Tue Sep 15 17:20:50 2026 +0800
Commit:     Zhao Zhili <[email protected]>
CommitDate: Sat Sep 19 17:46:51 2026 +0000

    avcodec/videotoolboxenc: free the buffer node when a frame is dropped
    
    The output callback returns without freeing the node it received as
    sourceFrameCtx when VideoToolbox completes a frame with no sample buffer,
    leaking it once per dropped frame.
---
 libavcodec/videotoolboxenc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index 5fdd7561b0..1c119991da 100644
--- a/libavcodec/videotoolboxenc.c
+++ b/libavcodec/videotoolboxenc.c
@@ -756,6 +756,7 @@ static void vtenc_output_callback(
     }
 
     if (!sample_buffer) {
+        vtenc_free_buf_node(info);
         return;
     }
 

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