Commit bd2f8e8f authored by Duncan Salerno's avatar Duncan Salerno Committed by Michael Niedermayer

Fix second use of AVOptions in HLS

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b6f435fb
......@@ -368,6 +368,9 @@ static int open_input(struct variant *var)
goto cleanup;
av_opt_set(var->input->priv_data, "key", key, 0);
av_opt_set(var->input->priv_data, "iv", iv, 0);
/* Need to repopulate options */
av_dict_free(&opts);
av_dict_set(&opts, "seekable", "0", 0);
if ((ret = ffurl_connect(var->input, &opts)) < 0) {
ffurl_close(var->input);
var->input = NULL;
......
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