diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 1843b2c3c4..e9948e4940 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -1643,7 +1643,7 @@ static int hls_window(AVFormatContext *s, int last, VariantStream *vs) } } - //if (last && (hls->flags & HLS_OMIT_ENDLIST)==0) + if (last && (hls->flags & HLS_OMIT_ENDLIST)==0) ff_hls_write_end_list(byterange_mode ? hls->m3u8_out : vs->out); if (vs->vtt_m3u8_name) {