diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-03-11 00:29:59 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-03-11 00:45:28 +0100 |
commit | b2ab3398f59ed18a565063584f961ff84484d699 (patch) | |
tree | c382033643cd8ae173734e6c13c0f8b69a716665 | |
parent | 1a5895757db8835e18d81e810c6181aa98b8b419 (diff) | |
download | ffmpeg-b2ab3398f59ed18a565063584f961ff84484d699.tar.gz |
avformat/hlsenc: Fix passing options, regression since bc9a5965c815cf7fd998d8ce14a18b8e861dd9ce
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavformat/hlsenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 8c61b6dfc6..e0463b49ea 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -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) { |