ffmpeg | branch: master | Steven Liu <liuq...@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 <liuq...@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);

_______________________________________________
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".

Reply via email to