From 163a31136dcb0b5966fc779917e0408cb52d7295 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 5 Nov 2011 11:42:13 +0100 Subject: avio: add and use ffurl_protocol_next(). --- libavformat/url.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libavformat/url.h') diff --git a/libavformat/url.h b/libavformat/url.h index 03ba15fdda..902539aa64 100644 --- a/libavformat/url.h +++ b/libavformat/url.h @@ -182,6 +182,13 @@ int ffurl_register_protocol(URLProtocol *protocol, int size); */ int ff_check_interrupt(AVIOInterruptCB *cb); +/** + * Iterate over all available protocols. + * + * @param prev result of the previous call to this functions or NULL. + */ +URLProtocol *ffurl_protocol_next(URLProtocol *prev); + /* udp.c */ int ff_udp_set_remote_url(URLContext *h, const char *uri); int ff_udp_get_local_port(URLContext *h); -- cgit v1.2.3