aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.h
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-02-26 20:38:02 +0000
committerMåns Rullgård <mans@mansr.com>2008-02-26 20:38:02 +0000
commite08e6bb6f2fdb07017ccc8a44255ca1eba234c3e (patch)
tree10eb8b699eae97877899850d6e2203b2aacd7bbf /libswscale/swscale.h
parent800c289a6693c5651072f13a0aafb634ba75ffc7 (diff)
downloadffmpeg-e08e6bb6f2fdb07017ccc8a44255ca1eba234c3e.tar.gz
less preprocessor magic in version number macros
Originally committed as revision 26105 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale.h')
-rw-r--r--libswscale/swscale.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index c36d3d008f..afd3ff3754 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -29,10 +29,16 @@
#include "libavutil/avutil.h"
-#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_VERSION_MAJOR 0
+#define LIBSWSCALE_VERSION_MINOR 5
+#define LIBSWSCALE_VERSION_MICRO 0
+
+#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)