summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-31 16:04:59 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-04 17:45:19 +0200
commit5652bb94719c0bb0c58f73e44531af9977493223 (patch)
tree4c9d488b2d072c63def12e5769c831536461abc7 /libavformat/avio.h
parent0d8a33b11e605f7fb6b51640d438d41fec08db1c (diff)
avio: make url_alloc internal.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 6279cdeb60..8ba8a23f6e 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -102,22 +102,10 @@ typedef int URLInterruptCB(void);
*/
attribute_deprecated int url_open_protocol (URLContext **puc, struct URLProtocol *up,
const char *url, int flags);
+attribute_deprecated int url_alloc(URLContext **h, const char *url, int flags);
#endif
/**
- * Create a URLContext for accessing to the resource indicated by
- * url, but do not initiate the connection yet.
- *
- * @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_alloc(URLContext **h, const char *url, int flags);
-
-/**
* Connect an URLContext that has been allocated by url_alloc
*/
int url_connect(URLContext *h);