Mercurial > libavformat.hg
changeset 5582:ef37cc286c01 libavformat
Doxument url_open_protocol().
author | stefano |
---|---|
date | Sun, 24 Jan 2010 13:31:25 +0000 |
parents | d205fac9f807 |
children | b862bba5a321 |
files | avio.h |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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); /**