aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-15 14:31:18 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-15 14:31:18 +0000
commit9075d1e027f56e9df3899150ef25a64300ee505d (patch)
tree5efa76a8640240da5480723041f251c417e21f35
parent5d37750187774279e587842ae756b84ecf4f5f32 (diff)
downloadffmpeg-9075d1e027f56e9df3899150ef25a64300ee505d.tar.gz
Document av_protocol_next().
Originally committed as revision 17324 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/avio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 70538f3491..7c137e6feb 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -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