[FFmpeg-cvslog] r21437 - trunk/libavformat/avio.h

stefano subversion
Sun Jan 24 23:07:32 CET 2010


Author: stefano
Date: Sun Jan 24 23:07:32 2010
New Revision: 21437

Log:
Doxument url_open().

Modified:
   trunk/libavformat/avio.h

Modified: trunk/libavformat/avio.h
==============================================================================
--- trunk/libavformat/avio.h	Sun Jan 24 22:37:35 2010	(r21436)
+++ trunk/libavformat/avio.h	Sun Jan 24 23:07:32 2010	(r21437)
@@ -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);
 
 /**



More information about the ffmpeg-cvslog mailing list