]> git.sesse.net Git - ffmpeg/commitdiff
Do not export to the public the first_protocol symbol at the next
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 15 Feb 2009 14:34:23 +0000 (14:34 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 15 Feb 2009 14:34:23 +0000 (14:34 +0000)
major bump.
There is no need for that, since av_protocol_next() already provides
access to the first registered protocol.

Originally committed as revision 17326 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/avio.h

index 7c137e6feb1586dce6759347ef369d1f52e25e97..21cdd9acc81eee0635bfebc4635cead5d3083705 100644 (file)
@@ -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;
 
 /**