Message ID | 20210720030549.30390-1-liuqi05@kuaishou.com |
---|---|
State | Accepted |
Commit | 5dc1b4b9979c84efc3b81bcb2c244e71e22a951a |
Headers | show |
Series | [FFmpeg-devel] avformat/hlsenc: set http options before use delete http method | expand |
Context | Check | Description |
---|---|---|
andriy/x86_make | success | Make finished |
andriy/x86_make_fate | success | Make fate finished |
andriy/PPC64_make | success | Make finished |
andriy/PPC64_make_fate | success | Make fate finished |
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 151ef6ec8f..5272ecabbb 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -570,6 +570,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);
Fix ticket: 9338 Set options which set by user from parent options. Signed-off-by: Steven Liu <liuqi05@kuaishou.com> --- libavformat/hlsenc.c | 1 + 1 file changed, 1 insertion(+)