diff --git a/libavformat/avio.h b/libavformat/avio.h index 7c137e6feb..21cdd9acc8 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; /**