avformat/avio: also set generic URL context options

This should have no effect currently as there are no such options yet.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/64/head
Michael Niedermayer 11 years ago
parent d9a3501c33
commit 7aa3979b8c
  1. 2
      libavformat/avio.c

@ -275,6 +275,8 @@ int ffurl_open(URLContext **puc, const char *filename, int flags,
if (options && (*puc)->prot->priv_data_class && if (options && (*puc)->prot->priv_data_class &&
(ret = av_opt_set_dict((*puc)->priv_data, options)) < 0) (ret = av_opt_set_dict((*puc)->priv_data, options)) < 0)
goto fail; goto fail;
if ((ret = av_opt_set_dict(*puc, options)) < 0)
goto fail;
ret = ffurl_connect(*puc, options); ret = ffurl_connect(*puc, options);
if (!ret) if (!ret)
return 0; return 0;

Loading…
Cancel
Save