summaryrefslogtreecommitdiff
path: root/libavfilter/internal.h
diff options
context:
space:
mode:
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