Commit 7aa3979b authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/avio: also set generic URL context options

This should have no effect currently as there are no such options yet.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d9a3501c
......@@ -275,6 +275,8 @@ int ffurl_open(URLContext **puc, const char *filename, int flags,
if (options && (*puc)->prot->priv_data_class &&
(ret = av_opt_set_dict((*puc)->priv_data, options)) < 0)
goto fail;
if ((ret = av_opt_set_dict(*puc, options)) < 0)
goto fail;
ret = ffurl_connect(*puc, options);
if (!ret)
return 0;
......
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