diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-30 14:51:59 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-30 15:00:03 +0200 |
commit | 7aa3979b8c2068ae3a352ecb5a92168aca311932 (patch) | |
tree | 404a74343a766bf84b3b1549cbc7590a30d141f9 | |
parent | d9a3501c33a1f88350c935785dbf5435e9ffabe6 (diff) | |
download | ffmpeg-7aa3979b8c2068ae3a352ecb5a92168aca311932.tar.gz |
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>
-rw-r--r-- | libavformat/avio.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |