aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/avdevice.h
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-02-26 20:37:59 +0000
committerMåns Rullgård <mans@mansr.com>2008-02-26 20:37:59 +0000
commit800c289a6693c5651072f13a0aafb634ba75ffc7 (patch)
treecd0722319d2769236f2ec97b617ba3b62fb6c0dd /libavdevice/avdevice.h
parent11fdbc4430785fbed7ce3a9b086e0bcba1690603 (diff)
downloadffmpeg-800c289a6693c5651072f13a0aafb634ba75ffc7.tar.gz
less preprocessor magic in version number macros
Originally committed as revision 12246 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice/avdevice.h')
-rw-r--r--libavdevice/avdevice.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/libavdevice/avdevice.h b/libavdevice/avdevice.h
index 15d6ee5b0b..3d4a1a3c78 100644
--- a/libavdevice/avdevice.h
+++ b/libavdevice/avdevice.h
@@ -19,10 +19,16 @@
#ifndef FFMPEG_AVDEVICE_H
#define FFMPEG_AVDEVICE_H
-#define LIBAVDEVICE_VERSION_TRIPLET 52,0,0
+#define LIBAVDEVICE_VERSION_MAJOR 52
+#define LIBAVDEVICE_VERSION_MINOR 0
+#define LIBAVDEVICE_VERSION_MICRO 0
-#define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_TRIPLET)
-#define LIBAVDEVICE_VERSION AV_VERSION(LIBAVDEVICE_VERSION_TRIPLET)
+#define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_MAJOR, \
+ LIBAVDEVICE_VERSION_MINOR, \
+ LIBAVDEVICE_VERSION_MICRO)
+#define LIBAVDEVICE_VERSION AV_VERSION(LIBAVDEVICE_VERSION_MAJOR, \
+ LIBAVDEVICE_VERSION_MINOR, \
+ LIBAVDEVICE_VERSION_MICRO)
#define LIBAVDEVICE_BUILD LIBAVDEVICE_VERSION_INT
/**