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

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

commit bbcb07a5fec15f6bd805c41d5bde0cdeb0d09fc0
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Sat May 16 17:36:28 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Sat May 16 18:15:08 2026 +0200

    avformat/hlsenc: use correct close function for custom io
    
    This is open by s->io_open().
    
    (cherry picked from commit 200cbaeb5a98a33103d564dc433e09733481be07)
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 libavformat/hlsenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 44d7b2a9cc..4b10f91660 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -777,7 +777,7 @@ static int do_encrypt(AVFormatContext *s, VariantStream *vs)
             return ret;
         avio_seek(pb, 0, SEEK_CUR);
         avio_write(pb, key, KEYSIZE);
-        avio_close(pb);
+        ff_format_io_close(s, &pb);
     }
     return 0;
 }

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

Reply via email to