[SCM] libav/experimental: Make libavfilter define its version like the other libav* libs
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:15:50 UTC 2013
The following commit has been merged in the experimental branch:
commit be19d752ba16f31db44c798d821223af06d9b971
Author: Vitor Sessak <vitor1001 at gmail.com>
Date: Tue Feb 26 21:21:17 2008 +0000
Make libavfilter define its version like the other libav* libs
Originally committed as revision 12248 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index a3b6464..1a2aa0f 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"
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list