提交 a73b23e3 编写于 作者: M Michael Niedermayer

avformat/hlsenc: Fix filename and options

Regression since bc9a5965Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册