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 /libpostproc | |
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 'libpostproc')
-rw-r--r-- | libpostproc/postprocess.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/libpostproc/postprocess.h b/libpostproc/postprocess.h index 7739d41eb6..818fb41bab 100644 --- a/libpostproc/postprocess.h +++ b/libpostproc/postprocess.h @@ -29,10 +29,16 @@ #include "libavutil/avutil.h" -#define LIBPOSTPROC_VERSION_TRIPLET 51,1,0 - -#define LIBPOSTPROC_VERSION_INT AV_VERSION_INT(LIBPOSTPROC_VERSION_TRIPLET) -#define LIBPOSTPROC_VERSION AV_VERSION(LIBPOSTPROC_VERSION_TRIPLET) +#define LIBPOSTPROC_VERSION_MAJOR 51 +#define LIBPOSTPROC_VERSION_MINOR 1 +#define LIBPOSTPROC_VERSION_MICRO 0 + +#define LIBPOSTPROC_VERSION_INT AV_VERSION_INT(LIBPOSTPROC_VERSION_MAJOR, \ + LIBPOSTPROC_VERSION_MINOR, \ + LIBPOSTPROC_VERSION_MICRO) +#define LIBPOSTPROC_VERSION AV_VERSION(LIBPOSTPROC_VERSION_MAJOR, \ + LIBPOSTPROC_VERSION_MINOR, \ + LIBPOSTPROC_VERSION_MICRO) #define LIBPOSTPROC_BUILD LIBPOSTPROC_VERSION_INT #define LIBPOSTPROC_IDENT "postproc" AV_STRINGIFY(LIBPOSTPROC_VERSION) |