[FFmpeg-cvslog] r14669 - in trunk/libavfilter: avfilter.c avfilter.h
stefano
subversion
Fri Aug 8 20:43:39 CEST 2008
Author: stefano
Date: Fri Aug 8 20:43:38 2008
New Revision: 14669
Log:
Implement avfilter_version().
Modified:
trunk/libavfilter/avfilter.c
trunk/libavfilter/avfilter.h
Modified: trunk/libavfilter/avfilter.c
==============================================================================
--- trunk/libavfilter/avfilter.c (original)
+++ trunk/libavfilter/avfilter.c Fri Aug 8 20:43:38 2008
@@ -22,6 +22,10 @@
#include "libavcodec/imgconvert.h"
#include "avfilter.h"
+unsigned avfilter_version(void) {
+ return LIBAVFILTER_VERSION_INT;
+}
+
/** list of registered filters */
struct FilterList
{
Modified: trunk/libavfilter/avfilter.h
==============================================================================
--- trunk/libavfilter/avfilter.h (original)
+++ trunk/libavfilter/avfilter.h Fri Aug 8 20:43:38 2008
@@ -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, \
@@ -37,6 +37,11 @@
#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;
More information about the ffmpeg-cvslog
mailing list