Skip to content
Snippets Groups Projects
Commit b2ab3398 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avformat/hlsenc: Fix passing options, regression since bc9a5965

parent 1a589575
No related branches found
No related tags found
No related merge requests found
...@@ -416,7 +416,7 @@ static int hls_window(AVFormatContext *s, int last) ...@@ -416,7 +416,7 @@ static int hls_window(AVFormatContext *s, int last)
set_http_options(&options, hls); set_http_options(&options, hls);
snprintf(temp_filename, sizeof(temp_filename), use_rename ? "%s.tmp" : "%s", s->filename); snprintf(temp_filename, sizeof(temp_filename), use_rename ? "%s.tmp" : "%s", s->filename);
if ((ret = s->io_open(s, &out, temp_filename, AVIO_FLAG_WRITE, NULL)) < 0) if ((ret = s->io_open(s, &out, temp_filename, AVIO_FLAG_WRITE, &options)) < 0)
goto fail; goto fail;
for (en = hls->segments; en; en = en->next) { for (en = hls->segments; en; en = en->next) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment