summaryrefslogtreecommitdiff
path: root/libswscale/swscale.h
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-02-19 22:52:28 +0000
committerMåns Rullgård <mans@mansr.com>2008-02-19 22:52:28 +0000
commitccf95ef1dea01519902778356fd0d97e36155216 (patch)
treecbfcf29bc8cca3f992ac61c5db2d5bab5866d2d7 /libswscale/swscale.h
parente97ac1e6f5dc3a8ba2e7dc7519a6f8fb356b8a4d (diff)
Clean up lib* version definitions
Originally committed as revision 26034 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale.h')
-rw-r--r--libswscale/swscale.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index 275b5673bf..4dd38d6d87 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -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)