summaryrefslogtreecommitdiff
path: root/libavfilter/internal.h
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-08-17 00:34:58 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-08-30 23:24:22 +0200
commite6c20e214efd21cac56309c1548cf5dbdf1edf38 (patch)
tree061bd9b747049416c44e5d0c3192872b6a9f2504 /libavfilter/internal.h
parent0169c4dc818bd88e9c203afb51de2afda49c657c (diff)
avfilter: add missing FF_API_AVFILTERBUFFER guards
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavfilter/internal.h')
-rw-r--r--libavfilter/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/internal.h b/libavfilter/internal.h
index 797c88437c..7dde2e1334 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -33,6 +33,7 @@
#include "video.h"
#include "libavcodec/avcodec.h"
+#if FF_API_AVFILTERBUFFER
#define POOL_SIZE 32
typedef struct AVFilterPool {
AVFilterBufferRef *pic[POOL_SIZE];
@@ -40,6 +41,7 @@ typedef struct AVFilterPool {
int refcount;
int draining;
} AVFilterPool;
+#endif
typedef struct AVFilterCommand {
double time; ///< time expressed in seconds