From d1037c12056a038fb196c58efda5b5f037b53dab Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 15 Feb 2009 14:34:23 +0000 Subject: [PATCH] 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. Originally committed as revision 17326 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avio.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/avio.h b/libavformat/avio.h index 7c137e6fe..21cdd9acc 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -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; /** -- 2.11.0