changeset 4491:673107cf7fe6 libavformat

Do not export to the public the first_protocol symbol at the next major bump. There is no need for that, since av_protocol_next() already provides access to the first registered protocol.
author stefano
date Sun, 15 Feb 2009 14:34:23 +0000
parents 59e1aa351b77
children 56ea2b1028fe
files avio.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/avio.h	Sun Feb 15 14:31:18 2009 +0000
+++ b/avio.h	Sun Feb 15 14:34:23 2009 +0000
@@ -137,7 +137,10 @@
                              int64_t timestamp, int flags);
 } URLProtocol;
 
+#if LIBAVFORMAT_VERSION_MAJOR < 53
 extern URLProtocol *first_protocol;
+#endif
+
 extern URLInterruptCB *url_interrupt_cb;
 
 /**