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/avio.h | |
parent | 62eaaeacb5ac083d9a96e95ec7df12113cd3ca81 (diff) | |
download | ffmpeg-streaming-0589da0aa525e4ba7c554408339fa3e862402af5.zip ffmpeg-streaming-0589da0aa525e4ba7c554408339fa3e862402af5.tar.gz |
avio: make url_open() internal.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 311a51f..02d05f6 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -104,22 +104,10 @@ attribute_deprecated int url_open_protocol (URLContext **puc, struct URLProtocol const char *url, int flags); attribute_deprecated int url_alloc(URLContext **h, const char *url, int flags); attribute_deprecated int url_connect(URLContext *h); +attribute_deprecated int url_open(URLContext **h, const char *url, int flags); #endif /** - * 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 url_open(URLContext **h, const char *url, int flags); - -/** * Read up to size bytes from the resource accessed by h, and store * the read bytes in buf. * |