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 8b003c660f avcodec/libdav1d: fix leak of frames on failure
8b003c660f is described below
commit 8b003c660fa5f29789acb85827efd31524ee4fd3
Author: James Almer <[email protected]>
AuthorDate: Mon Aug 17 14:49:03 2026 -0300
Commit: James Almer <[email protected]>
CommitDate: Mon Aug 17 14:49:03 2026 -0300
avcodec/libdav1d: fix leak of frames on failure
Signed-off-by: James Almer <[email protected]>
---
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]