[FFmpeg-cvslog] avformat/hlsenc: Fix filename and options

Michael Niedermayer git at videolan.org
Wed Feb 10 19:15:26 CET 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Feb 10 19:02:48 2016 +0100| [a73b23e3df15125f0c6fa944a17a39892c836353] | committer: Michael Niedermayer

avformat/hlsenc: Fix filename and options

Regression since bc9a5965c815cf7fd998d8ce14a18b8e861dd9ce

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

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

diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 9939276..7ab7cbb 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -542,7 +542,7 @@ static int hls_start(AVFormatContext *s)
             err = AVERROR(ENOMEM);
             goto fail;
         }
-        err = s->io_open(s, &oc->pb, oc->filename, AVIO_FLAG_WRITE, NULL);
+        err = s->io_open(s, &oc->pb, filename, AVIO_FLAG_WRITE, &options);
         av_free(filename);
         av_dict_free(&options);
         if (err < 0)



More information about the ffmpeg-cvslog mailing list