diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-01-24 22:07:32 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-01-24 22:07:32 +0000 |
commit | b0634fd11e674ea18d989071adeddeea0e5aca86 (patch) | |
tree | 7b93e0eb8de96b92bfe1699f30730acc8bbcead7 /libavformat | |
parent | 895a9be60cd34b347a40dc6b0323c9c731084476 (diff) | |
download | ffmpeg-b0634fd11e674ea18d989071adeddeea0e5aca86.tar.gz |
Doxument url_open().
Originally committed as revision 21437 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/avio.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 5c9b7dafb0..7227729297 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -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); /** |