[FFmpeg-cvslog] r12248 - trunk/libavfilter/avfilter.h

vitor subversion
Tue Feb 26 22:21:17 CET 2008


Author: vitor
Date: Tue Feb 26 22:21:17 2008
New Revision: 12248

Log:
Make libavfilter define its version like the other libav* libs

Modified:
   trunk/libavfilter/avfilter.h

Modified: trunk/libavfilter/avfilter.h
==============================================================================
--- trunk/libavfilter/avfilter.h	(original)
+++ trunk/libavfilter/avfilter.h	Tue Feb 26 22:21:17 2008
@@ -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"




More information about the ffmpeg-cvslog mailing list