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

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

commit 2037d31a5104742b632db864b2b2f968a9c0fad4
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:17:41 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 1a2bb5a4a9..5f15102cee 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -784,7 +784,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