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

Git pushed a commit to branch master
in repository ffmpeg.

commit 67dde306a07b6b6722bcadfb07b59a73e39476eb
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sun Nov 8 14:09:56 2026 +0100
Commit:     michaelni <[email protected]>
CommitDate: Wed Nov 18 12:53:45 2026 +0000

    avfilter/vf_lcevc: free the output picture when LCEVC_SendDecoderPicture() 
fails
    
    Found during triage of the Fairy review of 
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25134
---
 libavfilter/vf_lcevc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/vf_lcevc.c b/libavfilter/vf_lcevc.c
index 1aa6b2822e..39ebd032ef 100644
--- a/libavfilter/vf_lcevc.c
+++ b/libavfilter/vf_lcevc.c
@@ -288,6 +288,7 @@ static int send_output_picture(AVFilterLink *inlink)
     res = LCEVC_SendDecoderPicture(lcevc->decoder, picture);
     if (res != LCEVC_Success) {
         av_log(ctx, AV_LOG_ERROR, "LCEVC_SendDecoderPicture failed\n");
+        LCEVC_FreePicture(lcevc->decoder, picture);
         av_frame_free(&lcevc->out);
         return AVERROR_EXTERNAL;
     }

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