diff options
author | Måns Rullgård <mans@mansr.com> | 2008-02-26 20:37:59 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2008-02-26 20:37:59 +0000 |
commit | 800c289a6693c5651072f13a0aafb634ba75ffc7 (patch) | |
tree | cd0722319d2769236f2ec97b617ba3b62fb6c0dd /libavformat/avformat.h | |
parent | 11fdbc4430785fbed7ce3a9b086e0bcba1690603 (diff) | |
download | ffmpeg-800c289a6693c5651072f13a0aafb634ba75ffc7.tar.gz |
less preprocessor magic in version number macros
Originally committed as revision 12246 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 98d7e2e81f..ad186e4432 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -21,10 +21,16 @@ #ifndef FFMPEG_AVFORMAT_H #define FFMPEG_AVFORMAT_H -#define LIBAVFORMAT_VERSION_TRIPLET 52,7,0 - -#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_TRIPLET) -#define LIBAVFORMAT_VERSION AV_VERSION(LIBAVFORMAT_VERSION_TRIPLET) +#define LIBAVFORMAT_VERSION_MAJOR 52 +#define LIBAVFORMAT_VERSION_MINOR 7 +#define LIBAVFORMAT_VERSION_MICRO 0 + +#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ + LIBAVFORMAT_VERSION_MINOR, \ + LIBAVFORMAT_VERSION_MICRO) +#define LIBAVFORMAT_VERSION AV_VERSION(LIBAVFORMAT_VERSION_MAJOR, \ + LIBAVFORMAT_VERSION_MINOR, \ + LIBAVFORMAT_VERSION_MICRO) #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT #define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION) |