[FFmpeg-devel] [PATCH] avformat/hlsenc: Minor fix for persistent http connection of init fmp4

Karthick J kjeyapal at akamai.com
Fri Dec 15 11:27:40 EET 2017


From: Karthick Jeyapal <kjeyapal at akamai.com>

---
 libavformat/hlsenc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index fdf614b..0e2f412 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -1787,7 +1787,6 @@ static int hls_write_packet(AVFormatContext *s, AVPacket *pkt)
                 vs->init_range_length = range_length;
                 avio_open_dyn_buf(&oc->pb);
                 vs->packets_written = 0;
-                ff_format_io_close(s, &vs->out);
                 hlsenc_io_close(s, &vs->out, vs->base_output_dirname);
             } else {
                 hlsenc_io_close(s, &oc->pb, oc->filename);
-- 
1.9.1



More information about the ffmpeg-devel mailing list