OSDN Git Service

Document av_protocol_next().
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 15 Feb 2009 14:31:18 +0000 (14:31 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 15 Feb 2009 14:31:18 +0000 (14:31 +0000)
Originally committed as revision 17324 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/avio.h

index 70538f3..7c137e6 100644 (file)
@@ -140,6 +140,11 @@ typedef struct URLProtocol {
 extern URLProtocol *first_protocol;
 extern URLInterruptCB *url_interrupt_cb;
 
+/**
+ * If protocol is NULL, returns the first registered protocol,
+ * if protocol is non-NULL, returns the registered protocol next after protocol,
+ * or NULL if protocol is the last one.
+ */
 URLProtocol *av_protocol_next(URLProtocol *p);
 
 #if LIBAVFORMAT_VERSION_MAJOR < 53