Mercurial > mplayer.hg
changeset 26073:123219eaeeca
less preprocessor magic in version number macros
author | mru |
---|---|
date | Tue, 26 Feb 2008 20:38:02 +0000 |
parents | 99bc12329d38 |
children | c9308132327e |
files | libswscale/swscale.h |
diffstat | 1 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/swscale.h Tue Feb 26 05:18:56 2008 +0000 +++ b/libswscale/swscale.h Tue Feb 26 20:38:02 2008 +0000 @@ -29,10 +29,16 @@ #include "libavutil/avutil.h" -#define LIBSWSCALE_VERSION_TRIPLET 0,5,0 +#define LIBSWSCALE_VERSION_MAJOR 0 +#define LIBSWSCALE_VERSION_MINOR 5 +#define LIBSWSCALE_VERSION_MICRO 0 -#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_TRIPLET) -#define LIBSWSCALE_VERSION AV_VERSION(LIBSWSCALE_VERSION_TRIPLET) +#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \ + LIBSWSCALE_VERSION_MINOR, \ + LIBSWSCALE_VERSION_MICRO) +#define LIBSWSCALE_VERSION AV_VERSION(LIBSWSCALE_VERSION_MAJOR, \ + LIBSWSCALE_VERSION_MINOR, \ + LIBSWSCALE_VERSION_MICRO) #define LIBSWSCALE_BUILD LIBSWSCALE_VERSION_INT #define LIBSWSCALE_IDENT "SwS" AV_STRINGIFY(LIBSWSCALE_VERSION)