diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-31 16:25:10 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-04 17:45:20 +0200 |
commit | 0589da0aa525e4ba7c554408339fa3e862402af5 (patch) | |
tree | 53560d5cdf77b731064509f295452a2597096e3c /libavformat/url.h | |
parent | 62eaaeacb5ac083d9a96e95ec7df12113cd3ca81 (diff) | |
download | ffmpeg-0589da0aa525e4ba7c554408339fa3e862402af5.tar.gz |
avio: make url_open() internal.
Diffstat (limited to 'libavformat/url.h')
-rw-r--r-- | libavformat/url.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libavformat/url.h b/libavformat/url.h index 30fbf62aec..af7dc5c4b6 100644 --- a/libavformat/url.h +++ b/libavformat/url.h @@ -45,4 +45,17 @@ int ffurl_alloc(URLContext **h, const char *url, int flags); */ int ffurl_connect(URLContext *h); +/** + * Create an URLContext for accessing to the resource indicated by + * url, and open it. + * + * @param puc pointer to the location where, in case of success, the + * function puts the pointer to the created URLContext + * @param flags flags which control how the resource indicated by url + * is to be opened + * @return 0 in case of success, a negative value corresponding to an + * AVERROR code in case of failure + */ +int ffurl_open(URLContext **h, const char *url, int flags); + #endif //AVFORMAT_URL_H |