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 /libavcodec | |
parent | 11fdbc4430785fbed7ce3a9b086e0bcba1690603 (diff) | |
download | ffmpeg-streaming-800c289a6693c5651072f13a0aafb634ba75ffc7.zip ffmpeg-streaming-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 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index cf91954..fe4705d 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -30,10 +30,16 @@ #include "libavutil/avutil.h" #include <sys/types.h> /* size_t */ -#define LIBAVCODEC_VERSION_TRIPLET 51,50,1 - -#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_TRIPLET) -#define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_TRIPLET) +#define LIBAVCODEC_VERSION_MAJOR 51 +#define LIBAVCODEC_VERSION_MINOR 50 +#define LIBAVCODEC_VERSION_MICRO 1 + +#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ + LIBAVCODEC_VERSION_MINOR, \ + LIBAVCODEC_VERSION_MICRO) +#define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \ + LIBAVCODEC_VERSION_MINOR, \ + LIBAVCODEC_VERSION_MICRO) #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) |