ffmpeg | branch: master | Michael Niedermayer <mich...@niedermayer.cc> | Fri 
Mar 11 00:29:59 2016 +0100| [b2ab3398f59ed18a565063584f961ff84484d699] | 
committer: Michael Niedermayer

avformat/hlsenc: Fix passing options, regression since 
bc9a5965c815cf7fd998d8ce14a18b8e861dd9ce

Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b2ab3398f59ed18a565063584f961ff84484d699
---

 libavformat/hlsenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 8c61b6d..e0463b4 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) {

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to