# HG changeset patch # User stefano # Date 1234708278 0 # Node ID 59e1aa351b77966c88c872a7865d5d1b15622d4a # Parent 26982fb2d5103561e03e0c0760f33a9979b79b32 Document av_protocol_next(). diff -r 26982fb2d510 -r 59e1aa351b77 avio.h --- a/avio.h Sun Feb 15 14:29:23 2009 +0000 +++ b/avio.h Sun Feb 15 14:31:18 2009 +0000 @@ -140,6 +140,11 @@ 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