Signed-off-by: Steven Liu <[email protected]>
---
libavformat/hlsenc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index f881bb9d60..10e90c3839 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -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);
--
2.15.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".