Browse Source

Implement avfilter_version().

Originally committed as revision 14669 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Stefano Sabatini 17 years ago
parent
commit
540f1c7b13
2 changed files with 10 additions and 1 deletions
  1. +4
    -0
      libavfilter/avfilter.c
  2. +6
    -1
      libavfilter/avfilter.h

+ 4
- 0
libavfilter/avfilter.c View File

@@ -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
{


+ 6
- 1
libavfilter/avfilter.h View 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, \
@@ -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;


Loading…
Cancel
Save