diff options
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 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); |