[MPlayer-cvslog] r26105 - trunk/libswscale/swscale.h
mru
subversion at mplayerhq.hu
Tue Feb 26 21:38:03 CET 2008
Author: mru
Date: Tue Feb 26 21:38:02 2008
New Revision: 26105
Log:
less preprocessor magic in version number macros
Modified:
trunk/libswscale/swscale.h
Modified: trunk/libswscale/swscale.h
==============================================================================
--- trunk/libswscale/swscale.h (original)
+++ trunk/libswscale/swscale.h Tue Feb 26 21:38:02 2008
@@ -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)
More information about the MPlayer-cvslog
mailing list