Mercurial > libavformat.hg
diff avformat.h @ 6394:896acb967d32 libavformat
add FF_API_REGISTER_PROTOCOL define to disable the deprecated
register_protocol() function
author | aurel |
---|---|
date | Thu, 19 Aug 2010 21:21:32 +0000 |
parents | daca8bebdd88 |
children | 89cf0940e3f0 |
line wrap: on
line diff
--- a/avformat.h Thu Aug 19 17:07:12 2010 +0000 +++ b/avformat.h Thu Aug 19 21:21:32 2010 +0000 @@ -48,6 +48,9 @@ #ifndef FF_API_URL_CLASS #define FF_API_URL_CLASS (LIBAVFORMAT_VERSION_MAJOR >= 53) #endif +#ifndef FF_API_REGISTER_PROTOCOL +#define FF_API_REGISTER_PROTOCOL (LIBAVFORMAT_VERSION_MAJOR < 53) +#endif /** * I return the LIBAVFORMAT_VERSION_INT constant. You got