mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-12-02 16:46:48 +00:00
avformat/hlsenc: Fix passing options, regression since bc9a5965c8
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
1a5895757d
commit
b2ab3398f5
@ -416,7 +416,7 @@ static int hls_window(AVFormatContext *s, int last)
|
||||
|
||||
set_http_options(&options, hls);
|
||||
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;
|
||||
|
||||
for (en = hls->segments; en; en = en->next) {
|
||||
|
Loading…
Reference in New Issue
Block a user