mirror of https://git.ffmpeg.org/ffmpeg.git
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);
|
err = AVERROR(ENOMEM);
|
||||||
goto fail;
|
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_free(filename);
|
||||||
av_dict_free(&options);
|
av_dict_free(&options);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
|
|
Loading…
Reference in New Issue