summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.h
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-02-26 21:21:17 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-02-26 21:21:17 +0000
commitbe19d752ba16f31db44c798d821223af06d9b971 (patch)
tree542210ddf97e3b7cdb2911453518cd22f4b21fbd /libavfilter/avfilter.h
parent147e7692074d68bc002d9f395a79d2a74f1222b0 (diff)
Make libavfilter define its version like the other libav* libs
Originally committed as revision 12248 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r--libavfilter/avfilter.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index a3b646488a..1a2aa0f357 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -22,7 +22,17 @@
#ifndef FFMPEG_AVFILTER_H
#define FFMPEG_AVFILTER_H
-#define LIBAVFILTER_VERSION 0.0.0
+#define LIBAVFILTER_VERSION_MAJOR 0
+#define LIBAVFILTER_VERSION_MINOR 0
+#define LIBAVFILTER_VERSION_MICRO 0
+
+#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
+ LIBAVFILTER_VERSION_MINOR, \
+ LIBAVFILTER_VERSION_MICRO)
+#define LIBAVFILTER_VERSION AV_VERSION(LIBAVFILTER_VERSION_MAJOR, \
+ LIBAVFILTER_VERSION_MINOR, \
+ LIBAVFILTER_VERSION_MICRO)
+#define LIBAVFILTER_BUILD LIBAVFILTER_VERSION_INT
#include <stddef.h>
#include "avcodec.h"