ffmpeg | branch: master | Andrey Semashev <andrey.semas...@gmail.com> | Wed Jul 1 17:59:01 2020 +0300| [93a435dd4baa7335a701296aeb33694390d4a665] | committer: Steven Liu
libavformat/hlsenc: Remove duplicate close of the output stream. The result of the first close attempt is ignored and may be lost. By removing it we ensure the close result code is properly analyzed. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=93a435dd4baa7335a701296aeb33694390d4a665 --- libavformat/hlsenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 0a318d29ff..3398f0e732 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2629,7 +2629,6 @@ static int hls_write_trailer(struct AVFormatContext *s) goto failed; vs->size = range_length; - hlsenc_io_close(s, &vs->out, filename); ret = hlsenc_io_close(s, &vs->out, filename); if (ret < 0) { av_log(s, AV_LOG_WARNING, "upload segment failed, will retry with a new http session.\n"); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".