OSDN Git Service

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 275b567..4dd38d6 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)