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

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

commit 24a6c067c3e90093c2bc553ba8602eaf0d3886e5
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Mon May 11 11:09:11 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Sat May 16 18:11:56 2026 +0200

    avformat/dashenc: respect io_open set in AVFormatContext
    
    io_open_default() will call internal impl if needed, don't call it
    directly.
    
    (cherry picked from commit 4cf687b3b118d9bd23bbacc6d3b457798f2721f4)
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 libavformat/dashenc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index d4a6fe0304..7e941ab47e 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -619,7 +619,7 @@ static void dash_free(AVFormatContext *s)
             if (!c->single_file)
                 ffio_free_dyn_buf(&os->ctx->pb);
             else
-                avio_close(os->ctx->pb);
+                ff_format_io_close(s, &os->ctx->pb);
         }
         ff_format_io_close(s, &os->out);
         avformat_free_context(os->ctx);
@@ -1586,7 +1586,7 @@ static int dash_init(AVFormatContext *s)
             ret = s->io_open(s, &os->out, filename, AVIO_FLAG_WRITE, &opts);
         } else {
             ctx->url = av_strdup(filename);
-            ret = avio_open2(&ctx->pb, filename, AVIO_FLAG_WRITE, NULL, &opts);
+            ret = s->io_open(s, &ctx->pb, filename, AVIO_FLAG_WRITE, &opts);
         }
         av_dict_free(&opts);
         if (ret < 0)

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to