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

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

The following commit(s) were added to refs/heads/release/9.0 by this push:
     new cb0fb55d50 avcodec/libdav1d: fix leak of frames on failure
cb0fb55d50 is described below

commit cb0fb55d509b5226d193231e7fd933f442558708
Author:     James Almer <[email protected]>
AuthorDate: Mon Aug 17 14:49:03 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Mon Aug 17 14:50:03 2026 -0300

    avcodec/libdav1d: fix leak of frames on failure
    
    Signed-off-by: James Almer <[email protected]>
    (cherry picked from commit 8b003c660fa5f29789acb85827efd31524ee4fd3)
---
 libavcodec/libdav1d.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c
index b41b741c0d..0f713efac2 100644
--- a/libavcodec/libdav1d.c
+++ b/libavcodec/libdav1d.c
@@ -553,7 +553,7 @@ static int libdav1d_receive_frame(AVCodecContext *c, 
AVFrame *frame)
 
     res = ff_attach_decode_data(c, frame);
     if (res < 0)
-        return res;
+        goto fail;
 
     res = 0;
 fail:

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