mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
avformat/hlsenc: Fix passing options, regression since bc9a5965c815cf7fd998d8ce14a18b8e861dd9ce
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit b2ab3398f59ed18a565063584f961ff84484d699) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
c8977ec6e9
commit
e158936712
@ -396,7 +396,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…
x
Reference in New Issue
Block a user