From be19d752ba16f31db44c798d821223af06d9b971 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Tue, 26 Feb 2008 21:21:17 +0000 Subject: [PATCH] Make libavfilter define its version like the other libav* libs Originally committed as revision 12248 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/avfilter.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 #include "avcodec.h"