Fix ticket: 9338 Set options which set by user from parent options.
Unified · Split
| @@ -571,6 +571,7 @@ static int hls_delete_file(HLSContext *hls, AVFormatContext *avf, · 570 unmodified lines | ||
| 571 | 571 | AVDictionary *opt = NULL; |
| 572 | 572 | AVIOContext *out = NULL; |
| 573 | 573 | int ret; |
| 574 | + set_http_options(avf, &opt, hls); | |
| 574 | 575 | av_dict_set(&opt, "method", "DELETE", 0); |
| 575 | 576 | ret = avf->io_open(avf, &out, path, AVIO_FLAG_WRITE, &opt); |
| 576 | 577 | av_dict_free(&opt); |