[FFmpeg-cvslog] r17326 - trunk/libavformat/avio.h

stefano subversion
Sun Feb 15 15:34:23 CET 2009


Author: stefano
Date: Sun Feb 15 15:34:23 2009
New Revision: 17326

Log:
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.

Modified:
   trunk/libavformat/avio.h

Modified: trunk/libavformat/avio.h
==============================================================================
--- trunk/libavformat/avio.h	Sun Feb 15 15:32:09 2009	(r17325)
+++ trunk/libavformat/avio.h	Sun Feb 15 15:34:23 2009	(r17326)
@@ -137,7 +137,10 @@ typedef struct URLProtocol {
                              int64_t timestamp, int flags);
 } URLProtocol;
 
+#if LIBAVFORMAT_VERSION_MAJOR < 53
 extern URLProtocol *first_protocol;
+#endif
+
 extern URLInterruptCB *url_interrupt_cb;
 
 /**




More information about the ffmpeg-cvslog mailing list