Commit a73b23e3 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/hlsenc: Fix filename and options

Regression since bc9a5965Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 5669aa2a
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment