]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Implement avfilter_version().
authorstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 8 Aug 2008 18:43:38 +0000 (18:43 +0000)
committerstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 8 Aug 2008 18:43:38 +0000 (18:43 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14669 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavfilter/avfilter.c
libavfilter/avfilter.h

index 420e7c262bf6924b7f8180ff4a6e6b0938cf1093..d6f07a9ed616564d416d11f6f865b56f7a9f0e85 100644 (file)
 #include "libavcodec/imgconvert.h"
 #include "avfilter.h"
 
+unsigned avfilter_version(void) {
+    return LIBAVFILTER_VERSION_INT;
+}
+
 /** list of registered filters */
 struct FilterList
 {
index 6f6c41155f5aa419c54bf20ca0382bccb2b0dc5b..df793923944494026d3a6723ec19af62b8522eea 100644 (file)
@@ -23,7 +23,7 @@
 #define FFMPEG_AVFILTER_H
 
 #define LIBAVFILTER_VERSION_MAJOR  0
-#define LIBAVFILTER_VERSION_MINOR  0
+#define LIBAVFILTER_VERSION_MINOR  1
 #define LIBAVFILTER_VERSION_MICRO  0
 
 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
 #include <stddef.h>
 #include "libavcodec/avcodec.h"
 
+/**
+ * Returns the LIBAVFILTER_VERSION_INT constant.
+ */
+unsigned avfilter_version(void);
+
 typedef struct AVFilterContext AVFilterContext;
 typedef struct AVFilterLink    AVFilterLink;
 typedef struct AVFilterPad     AVFilterPad;