[FFmpeg-cvslog] avformat/hlsenc: set http options before use delete http method

Steven Liu git at videolan.org
Thu Aug 19 13:24:31 EEST 2021


ffmpeg | branch: master | Steven Liu <liuqi05 at kuaishou.com> | Tue Jul 20 11:05:49 2021 +0800| [5dc1b4b9979c84efc3b81bcb2c244e71e22a951a] | committer: Steven Liu

avformat/hlsenc: set http options before use delete http method

Fix ticket: 9338
Set options which set by user from parent options.

Signed-off-by: Steven Liu <liuqi05 at kuaishou.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5dc1b4b9979c84efc3b81bcb2c244e71e22a951a
---

 libavformat/hlsenc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 6447f9bf48..8cd938eb97 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -571,6 +571,7 @@ static int hls_delete_file(HLSContext *hls, AVFormatContext *avf,
         AVDictionary *opt = NULL;
         AVIOContext  *out = NULL;
         int ret;
+        set_http_options(avf, &opt, hls);
         av_dict_set(&opt, "method", "DELETE", 0);
         ret = avf->io_open(avf, &out, path, AVIO_FLAG_WRITE, &opt);
         av_dict_free(&opt);



More information about the ffmpeg-cvslog mailing list