Mercurial > libpostproc.hg
changeset 82:f69ff6d3abe3 libpostproc
less preprocessor magic in version number macros
author | mru |
---|---|
date | Tue, 26 Feb 2008 20:37:59 +0000 |
parents | 8d1245b4d7fb |
children | 8c0125bfce75 |
files | postprocess.h |
diffstat | 1 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/postprocess.h Mon Feb 25 09:22:11 2008 +0000 +++ b/postprocess.h Tue Feb 26 20:37:59 2008 +0000 @@ -29,10 +29,16 @@ #include "libavutil/avutil.h" -#define LIBPOSTPROC_VERSION_TRIPLET 51,1,0 +#define LIBPOSTPROC_VERSION_MAJOR 51 +#define LIBPOSTPROC_VERSION_MINOR 1 +#define LIBPOSTPROC_VERSION_MICRO 0 -#define LIBPOSTPROC_VERSION_INT AV_VERSION_INT(LIBPOSTPROC_VERSION_TRIPLET) -#define LIBPOSTPROC_VERSION AV_VERSION(LIBPOSTPROC_VERSION_TRIPLET) +#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)