avformat/hlsenc: Fix filename and options

Regression since bc9a5965c8

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/174/merge
Michael Niedermayer 9 years ago
parent 5669aa2a8a
commit a73b23e3df
  1. 2
      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)

Loading…
Cancel
Save