You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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@kuaishou.com>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user