diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2010-08-19 16:49:08 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2010-08-19 16:49:08 +0000 |
commit | 404eba44b162cb583a47538376e4ca3e502b912f (patch) | |
tree | 588f1938b3e5a6b33b08a5efe344585906377653 /libavformat/avformat.h | |
parent | cd223e0b4e1371d12d6cbb36bb66afdc40fd6281 (diff) | |
download | ffmpeg-404eba44b162cb583a47538376e4ca3e502b912f.tar.gz |
add FF_API_URL_CLASS define to enable usage of URLContext as a AVClass
Originally committed as revision 24835 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 072845ac6d..f49c842978 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -45,6 +45,9 @@ #ifndef FF_API_OLD_METADATA #define FF_API_OLD_METADATA (LIBAVFORMAT_VERSION_MAJOR < 53) #endif +#ifndef FF_API_URL_CLASS +#define FF_API_URL_CLASS (LIBAVFORMAT_VERSION_MAJOR >= 53) +#endif /** * I return the LIBAVFORMAT_VERSION_INT constant. You got |