# HG changeset patch # User stefano # Date 1264339885 0 # Node ID ef37cc286c01a5db91f3c2ce6bb4c2a75e6c1679 # Parent d205fac9f8071fd548c759f9043e0fac34d37356 Doxument url_open_protocol(). diff -r d205fac9f807 -r ef37cc286c01 avio.h --- a/avio.h Sun Jan 24 13:07:54 2010 +0000 +++ b/avio.h Sun Jan 24 13:31:25 2010 +0000 @@ -65,8 +65,20 @@ typedef int URLInterruptCB(void); +/** + * Creates an URLContext for accessing to the resource indicated by + * filename, and opens it using the URLProtocol up. + * + * @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 filename + * 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_protocol (URLContext **puc, struct URLProtocol *up, const char *filename, int flags); + int url_open(URLContext **h, const char *filename, int flags); /**