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 8c31bbbb37da1686bf9d4ac99fdd74e74145f4fd
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Mon May 11 11:10:27 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Sat May 16 17:30:43 2026 +0200

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

diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 957b9a5ddd..c908a16fda 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -1157,9 +1157,7 @@ static int parse_playlist(AVFormatContext *s, const char 
*url, VariantStream *vs
     const char *end;
     double discont_program_date_time = 0;
 
-    if ((ret = ffio_open_whitelist(&in, url, AVIO_FLAG_READ,
-                                   &s->interrupt_callback, NULL,
-                                   s->protocol_whitelist, 
s->protocol_blacklist)) < 0)
+    if ((ret = s->io_open(s, &in, url, AVIO_FLAG_READ, NULL)) < 0)
         return ret;
 
     ff_get_chomp_line(in, line, sizeof(line));
@@ -1269,7 +1267,7 @@ static int parse_playlist(AVFormatContext *s, const char 
*url, VariantStream *vs
     }
 
 fail:
-    avio_close(in);
+    ff_format_io_close(s, &in);
     return ret;
 }
 

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

Reply via email to