提交 540f1c7b 编写于 作者: S Stefano Sabatini

Implement avfilter_version().

Originally committed as revision 14669 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 b3b990b6
...@@ -22,6 +22,10 @@ ...@@ -22,6 +22,10 @@
#include "libavcodec/imgconvert.h" #include "libavcodec/imgconvert.h"
#include "avfilter.h" #include "avfilter.h"
unsigned avfilter_version(void) {
return LIBAVFILTER_VERSION_INT;
}
/** list of registered filters */ /** list of registered filters */
struct FilterList struct FilterList
{ {
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#define FFMPEG_AVFILTER_H #define FFMPEG_AVFILTER_H
#define LIBAVFILTER_VERSION_MAJOR 0 #define LIBAVFILTER_VERSION_MAJOR 0
#define LIBAVFILTER_VERSION_MINOR 0 #define LIBAVFILTER_VERSION_MINOR 1
#define LIBAVFILTER_VERSION_MICRO 0 #define LIBAVFILTER_VERSION_MICRO 0
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \ #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
...@@ -37,6 +37,11 @@ ...@@ -37,6 +37,11 @@
#include <stddef.h> #include <stddef.h>
#include "libavcodec/avcodec.h" #include "libavcodec/avcodec.h"
/**
* Returns the LIBAVFILTER_VERSION_INT constant.
*/
unsigned avfilter_version(void);
typedef struct AVFilterContext AVFilterContext; typedef struct AVFilterContext AVFilterContext;
typedef struct AVFilterLink AVFilterLink; typedef struct AVFilterLink AVFilterLink;
typedef struct AVFilterPad AVFilterPad; typedef struct AVFilterPad AVFilterPad;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册