aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
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 /libavdevice
parentcea9642014e833799eca40db03530ed0002f99d8 (diff)
downloadffmpeg-e97ac1e6f5dc3a8ba2e7dc7519a6f8fb356b8a4d.tar.gz
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 'libavdevice')
-rw-r--r--libavdevice/avdevice.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavdevice/avdevice.h b/libavdevice/avdevice.h
index afab46b1f5..15d6ee5b0b 100644
--- a/libavdevice/avdevice.h
+++ b/libavdevice/avdevice.h
@@ -19,8 +19,10 @@
#ifndef FFMPEG_AVDEVICE_H
#define FFMPEG_AVDEVICE_H
-#define LIBAVDEVICE_VERSION_INT ((52<<16)+(0<<8)+0)
-#define LIBAVDEVICE_VERSION 52.0.0
+#define LIBAVDEVICE_VERSION_TRIPLET 52,0,0
+
+#define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_TRIPLET)
+#define LIBAVDEVICE_VERSION AV_VERSION(LIBAVDEVICE_VERSION_TRIPLET)
#define LIBAVDEVICE_BUILD LIBAVDEVICE_VERSION_INT
/**