mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-27 21:40:34 +00:00
avformat/hlsenc: Fix filename and options
Regression since bc9a5965c8
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
5669aa2a8a
commit
a73b23e3df
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user