aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-02-10 19:02:48 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-02-10 19:14:53 +0100
commita73b23e3df15125f0c6fa944a17a39892c836353 (patch)
tree9627e7a0243e97b742620f52d0a20b85e31db55a
parent5669aa2a8ac5852daf629e648ffae64e88e659e1 (diff)
downloadffmpeg-a73b23e3df15125f0c6fa944a17a39892c836353.tar.gz
avformat/hlsenc: Fix filename and options
Regression since bc9a5965c815cf7fd998d8ce14a18b8e861dd9ce Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavformat/hlsenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 9939276dad..7ab7cbb9ab 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)