From 7aa3979b8c2068ae3a352ecb5a92168aca311932 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 30 Mar 2014 14:51:59 +0200 Subject: [PATCH] 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 --- libavformat/avio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/avio.c b/libavformat/avio.c index e366dfa388..4edaaa6215 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -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;