From 9075d1e027f56e9df3899150ef25a64300ee505d Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 15 Feb 2009 14:31:18 +0000 Subject: Document av_protocol_next(). Originally committed as revision 17324 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avio.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavformat/avio.h') 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 -- cgit v1.2.3