From 800c289a6693c5651072f13a0aafb634ba75ffc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Tue, 26 Feb 2008 20:37:59 +0000 Subject: less preprocessor magic in version number macros Originally committed as revision 12246 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libpostproc/postprocess.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'libpostproc') 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) -- cgit v1.2.3