changeset 26002:b225be4ade8a

Clean up lib* version definitions
author mru
date Tue, 19 Feb 2008 22:52:28 +0000
parents ecc96073dc00
children a506a6ab14e1
files libswscale/swscale.h
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.h	Tue Feb 19 21:50:18 2008 +0000
+++ b/libswscale/swscale.h	Tue Feb 19 22:52:28 2008 +0000
@@ -29,8 +29,10 @@
 
 #include "avutil.h"
 
-#define LIBSWSCALE_VERSION_INT  ((0<<16)+(5<<8)+0)
-#define LIBSWSCALE_VERSION      0.5.0
+#define LIBSWSCALE_VERSION_TRIPLET 0,5,0
+
+#define LIBSWSCALE_VERSION_INT  AV_VERSION_INT(LIBSWSCALE_VERSION_TRIPLET)
+#define LIBSWSCALE_VERSION      AV_VERSION(LIBSWSCALE_VERSION_TRIPLET)
 #define LIBSWSCALE_BUILD        LIBSWSCALE_VERSION_INT
 
 #define LIBSWSCALE_IDENT        "SwS" AV_STRINGIFY(LIBSWSCALE_VERSION)