summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-04 20:28:58 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-08 17:48:53 +0200
commitcdc6a87f193b1bf99a640a44374d4f2597118959 (patch)
tree60d614de8ade821d48e9218134e614b7111dc763 /libavformat/avio.h
parentf8270bbf8ce891cc614a5562c02ce18a50a89f1d (diff)
avio: deprecate av_protocol_next().
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 9ea138e080..7bb8d175d0 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -170,12 +170,14 @@ extern URLProtocol *first_protocol;
extern URLInterruptCB *url_interrupt_cb;
#endif
+#if FF_API_OLD_AVIO
/**
* If protocol is NULL, returns the first registered protocol,
* if protocol is non-NULL, returns the next registered protocol after protocol,
* or NULL if protocol is the last one.
*/
-URLProtocol *av_protocol_next(URLProtocol *p);
+attribute_deprecated URLProtocol *av_protocol_next(URLProtocol *p);
+#endif
#if FF_API_REGISTER_PROTOCOL
/**