summaryrefslogtreecommitdiff
path: root/libavformat/url.h
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-04-21 15:55:09 +0100
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-04-21 15:55:09 +0100
commitf8e89d8a297e034d03aac88c73acd1541167ae5e (patch)
tree036de2728a2748e27d01f273ba431f411eb7b018 /libavformat/url.h
parentbe5fde92ff6cf920e2e7d58a864dcf5527404564 (diff)
parentfab8156b2f30666adabe227b3d7712fd193873b1 (diff)
downloadffmpeg-f8e89d8a297e034d03aac88c73acd1541167ae5e.tar.gz
Merge commit 'fab8156b2f30666adabe227b3d7712fd193873b1'
* commit 'fab8156b2f30666adabe227b3d7712fd193873b1': avio: Copy URLContext generic options into child URLContexts Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavformat/url.h')
-rw-r--r--libavformat/url.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavformat/url.h b/libavformat/url.h
index 4ce60cc8df..f19b91ccb0 100644
--- a/libavformat/url.h
+++ b/libavformat/url.h
@@ -136,12 +136,15 @@ int ffurl_connect(URLContext *uc, AVDictionary **options);
* @param options A dictionary filled with protocol-private options. On return
* this parameter will be destroyed and replaced with a dict containing options
* that were not found. May be NULL.
+ * @param parent An enclosing URLContext, whose generic options should
+ * be applied to this URLContext as well.
* @return >= 0 in case of success, a negative value corresponding to an
* AVERROR code in case of failure
*/
int ffurl_open_whitelist(URLContext **puc, const char *filename, int flags,
const AVIOInterruptCB *int_cb, AVDictionary **options,
- const char *whitelist, const char* blacklist);
+ const char *whitelist, const char* blacklist,
+ URLContext *parent);
int ffurl_open(URLContext **puc, const char *filename, int flags,
const AVIOInterruptCB *int_cb, AVDictionary **options);