diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-11-05 11:42:13 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-11-13 13:14:14 +0100 |
commit | 163a31136dcb0b5966fc779917e0408cb52d7295 (patch) | |
tree | 7899e59484a07ce7e379f30de8ae4914b85fc95f /libavformat/url.h | |
parent | 6ef350c16bf9a375a1ea3e531019ea922ae5a1e1 (diff) | |
download | ffmpeg-163a31136dcb0b5966fc779917e0408cb52d7295.tar.gz |
avio: add and use ffurl_protocol_next().
Diffstat (limited to 'libavformat/url.h')
-rw-r--r-- | libavformat/url.h | 7 |
1 files changed, 7 insertions, 0 deletions
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); |