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

Steven Liu lingjiujianke at gmail.com
Fri Dec 15 15:14:47 EET 2017


2017-12-15 17:27 GMT+08:00 Karthick J <kjeyapal at akamai.com>:
> 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);
Don't worry, i'm fixing tickets and coding something, maybe this patch
will not fix this time.


Thanks
>                  hlsenc_io_close(s, &vs->out, vs->base_output_dirname);
>              } else {
>                  hlsenc_io_close(s, &oc->pb, oc->filename);
> --
> 1.9.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list