Commit 7cf44abf authored by stefano's avatar stefano

Implement avfilter_version().


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14669 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7a252c9b
......@@ -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
{
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment