changeset 79:f40477ade122 libpostproc

Clean up lib* version definitions Updating version numbers now requires changing only one place.
author mru
date Tue, 19 Feb 2008 22:50:28 +0000
parents 47ff4bd209cd
children 279387224d8c
files postprocess.h
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/postprocess.h	Sat Feb 02 21:24:54 2008 +0000
+++ b/postprocess.h	Tue Feb 19 22:50:28 2008 +0000
@@ -27,8 +27,10 @@
  *     external api for the pp stuff
  */
 
-#define LIBPOSTPROC_VERSION_INT ((51<<16)+(1<<8)+0)
-#define LIBPOSTPROC_VERSION     51.1.0
+#define LIBPOSTPROC_VERSION_TRIPLET 51,1,0
+
+#define LIBPOSTPROC_VERSION_INT AV_VERSION_INT(LIBPOSTPROC_VERSION_TRIPLET)
+#define LIBPOSTPROC_VERSION     AV_VERSION(LIBPOSTPROC_VERSION_TRIPLET)
 #define LIBPOSTPROC_BUILD       LIBPOSTPROC_VERSION_INT
 
 #define LIBPOSTPROC_IDENT       "postproc" AV_STRINGIFY(LIBPOSTPROC_VERSION)