Commit 0870089a authored by stefano's avatar stefano

Doxument url_open().


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21437 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4393ca2b
......@@ -79,6 +79,17 @@ typedef int URLInterruptCB(void);
int url_open_protocol (URLContext **puc, struct URLProtocol *up,
const char *url, int flags);
/**
* Creates an URLContext for accessing to the resource indicated by
* url, and opens 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);
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment