Clean up lib* version definitions
authorMåns Rullgård <mans@mansr.com>
Tue, 19 Feb 2008 22:52:28 +0000 (22:52 +0000)
committerMåns Rullgård <mans@mansr.com>
Tue, 19 Feb 2008 22:52:28 +0000 (22:52 +0000)
Originally committed as revision 26034 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale.h

index 275b5673bf2098824691d5a487006ca16c095d06..4dd38d6d87f0870d2998b6f1e6b9d1478b03ec56 100644 (file)
 
 #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)