Commit 5b809a8d authored by Steven Liu's avatar Steven Liu

avformat/hlsenc: print warning at the end when upload the last segment failed

Signed-off-by: 's avatarSteven Liu <lq@chinaffmpeg.org>
parent 307e0627
......@@ -2601,6 +2601,8 @@ static int hls_write_trailer(struct AVFormatContext *s)
}
reflush_dynbuf(vs, &range_length);
ret = hlsenc_io_close(s, &vs->out, filename);
if (ret < 0)
av_log(s, AV_LOG_WARNING, "Failed to upload file '%s' at the end.\n", vs->avf->url);
}
av_free(vs->temp_buffer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment