History

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

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

Steven Liu committed 5 years ago

Commit 5dc1b4b1 parent 79934cc1 file · +1 −0Browse files

Unified · Split

libavformat/hlsenc.c+1−0
@@ -571,6 +571,7 @@ static int hls_delete_file(HLSContext *hls, AVFormatContext *avf, · 570 unmodified lines
571571 AVDictionary *opt = NULL;
572572 AVIOContext *out = NULL;
573573 int ret;
574+ set_http_options(avf, &opt, hls);
574575 av_dict_set(&opt, "method", "DELETE", 0);
575576 ret = avf->io_open(avf, &out, path, AVIO_FLAG_WRITE, &opt);
576577 av_dict_free(&opt);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t