Skip to content
Snippets Groups Projects
Commit bd2f8e8f authored by Duncan Salerno's avatar Duncan Salerno Committed by Michael Niedermayer
Browse files

Fix second use of AVOptions in HLS

parent b6f435fb
No related branches found
No related tags found
No related merge requests found
...@@ -368,6 +368,9 @@ static int open_input(struct variant *var) ...@@ -368,6 +368,9 @@ static int open_input(struct variant *var)
goto cleanup; goto cleanup;
av_opt_set(var->input->priv_data, "key", key, 0); av_opt_set(var->input->priv_data, "key", key, 0);
av_opt_set(var->input->priv_data, "iv", iv, 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) { if ((ret = ffurl_connect(var->input, &opts)) < 0) {
ffurl_close(var->input); ffurl_close(var->input);
var->input = NULL; var->input = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment