This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.1 in repository ffmpeg.
commit 01d7854d49b9c3502fc8196e85a42688444d9a11 Author: jiangjie <[email protected]> AuthorDate: Mon Aug 17 18:32:56 2026 +0800 Commit: Michael Niedermayer <[email protected]> CommitDate: Sat Sep 19 14:27:09 2026 +0200 avformat/dashenc: free http options on avio_open_dyn_buf failure Fixes #24171 (cherry picked from commit ade01193a1a7f77de0f466067e9961871c8e0e8a) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/dashenc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index e40423a834..cc373140a7 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -1453,8 +1453,10 @@ static int dash_init(AVFormatContext *s) snprintf(filename, sizeof(filename), "%s%s", c->dirname, os->initfile); set_http_options(&opts, c); if (!c->single_file) { - if ((ret = avio_open_dyn_buf(&ctx->pb)) < 0) + if ((ret = avio_open_dyn_buf(&ctx->pb)) < 0) { + av_dict_free(&opts); return ret; + } ret = s->io_open(s, &os->out, filename, AVIO_FLAG_WRITE, &opts); } else { ctx->url = av_strdup(filename); -- 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]
