diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-02-10 19:02:48 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-02-10 19:14:53 +0100 |
commit | a73b23e3df15125f0c6fa944a17a39892c836353 (patch) | |
tree | 9627e7a0243e97b742620f52d0a20b85e31db55a | |
parent | 5669aa2a8ac5852daf629e648ffae64e88e659e1 (diff) | |
download | ffmpeg-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.c | 2 |
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) |