summaryrefslogtreecommitdiff
path: root/libpostproc
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-02-19 22:50:28 +0000
committerMåns Rullgård <mans@mansr.com>2008-02-19 22:50:28 +0000
commite97ac1e6f5dc3a8ba2e7dc7519a6f8fb356b8a4d (patch)
tree91704075078c36e174778d909394a3b1f3ce42f5 /libpostproc
parentcea9642014e833799eca40db03530ed0002f99d8 (diff)
Clean up lib* version definitions
Updating version numbers now requires changing only one place. Originally committed as revision 12154 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libpostproc')
-rw-r--r--libpostproc/postprocess.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libpostproc/postprocess.h b/libpostproc/postprocess.h
index 4782bac648..1803959cd3 100644
--- a/libpostproc/postprocess.h
+++ b/libpostproc/postprocess.h
@@ -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)