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 180a10647d avformat/tee: clean up local resources on program copy
failure
180a10647d is described below
commit 180a10647d6613f692524ce5572bebad1f2146b4
Author: Zhao Zhili <[email protected]>
AuthorDate: Fri May 8 12:41:18 2026 +0800
Commit: Zhao Zhili <[email protected]>
CommitDate: Sat May 9 10:46:35 2026 +0000
avformat/tee: clean up local resources on program copy failure
Signed-off-by: Zhao Zhili <[email protected]>
---
libavformat/tee.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/tee.c b/libavformat/tee.c
index 2392ef2018..fedc401764 100644
--- a/libavformat/tee.c
+++ b/libavformat/tee.c
@@ -298,7 +298,7 @@ static int open_slave(AVFormatContext *avf, char *slave,
TeeSlave *tee_slave)
ret = av_program_copy(avf2, (const AVFormatContext *)avf,
avf->programs[i]->id, 0);
if (ret < 0) {
av_log(avf, AV_LOG_ERROR, "unable to transfer program %d to child
muxer\n", avf->programs[i]->id);
- return ret;
+ goto end;
}
}
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]