This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 200cbaeb5a avformat/hlsenc: use correct close function for custom io
200cbaeb5a is described below
commit 200cbaeb5a98a33103d564dc433e09733481be07
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:03:26 2026 +0200
avformat/hlsenc: use correct close function for custom io
This is open by s->io_open().
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 6d78c3cbce..6fd99e811b 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -705,7 +705,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]