[FFmpeg-devel] [PATCH] avcodec/hlsenc: Fix playlist not getting flushed when using custom io
Steven Liu
lingjiujianke at gmail.com
Mon Sep 7 13:46:44 EEST 2020
Steve Lam <steviewc at pm.me> 于2020年9月7日周一 上午3:23写道:
>
> ---
> libavformat/hlsenc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
> index cb31d6aed7..fdfa907234 100644
> --- a/libavformat/hlsenc.c
> +++ b/libavformat/hlsenc.c
> @@ -287,6 +287,7 @@ static int hlsenc_io_close(AVFormatContext *s, AVIOContext **pb, char *filename)
> if (!*pb)
> return ret;
> if (!http_base_proto || !hls->http_persistent || hls->key_info_file || hls->encrypt) {
> + avio_flush(*pb);
> ff_format_io_close(s, pb);
> #if CONFIG_HTTP_PROTOCOL
> } else {
> --
> 2.17.1
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
LGTM
Thanks
Steven
More information about the ffmpeg-devel
mailing list