[FFmpeg-cvslog] r21417 - trunk/libavformat/avio.h
stefano
subversion
Sun Jan 24 14:31:25 CET 2010
Author: stefano
Date: Sun Jan 24 14:31:25 2010
New Revision: 21417
Log:
Doxument url_open_protocol().
Modified:
trunk/libavformat/avio.h
Modified: trunk/libavformat/avio.h
==============================================================================
--- trunk/libavformat/avio.h Sun Jan 24 14:20:17 2010 (r21416)
+++ trunk/libavformat/avio.h Sun Jan 24 14:31:25 2010 (r21417)
@@ -65,8 +65,20 @@ typedef struct URLPollEntry {
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);
/**
More information about the ffmpeg-cvslog
mailing list