diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2010-08-19 21:21:32 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2010-08-19 21:21:32 +0000 |
commit | 838b27b42c1838857e6b2ad47b4a932717108c10 (patch) | |
tree | 6b9b9ad2845776ae5de8639e00efceba66cbc8b0 /libavformat/avformat.h | |
parent | b2125520e7a3772724c25de7771d3cc987698fd3 (diff) | |
download | ffmpeg-838b27b42c1838857e6b2ad47b4a932717108c10.tar.gz |
add FF_API_REGISTER_PROTOCOL define to disable the deprecated
register_protocol() function
Originally committed as revision 24840 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index f49c842978..d61e293669 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -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 |