]> git.sesse.net Git - ffmpeg/commitdiff
Make libavfilter define its version like the other libav* libs
authorVitor Sessak <vitor1001@gmail.com>
Tue, 26 Feb 2008 21:21:17 +0000 (21:21 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Tue, 26 Feb 2008 21:21:17 +0000 (21:21 +0000)
Originally committed as revision 12248 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/avfilter.h

index a3b646488aca5965d774d8734b41b25dbfcf23e0..1a2aa0f357af575da922d0a063fa8a2b71c812b7 100644 (file)
 #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"