]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/internal.h
avfilter/vf_waveform: support envelope for all filters
[ffmpeg] / libavfilter / internal.h
index 797c88437cf04f7c912eaa9fa848b8685d632661..7dde2e133496f8f7dc3dc4cc09faf4b49dc0d2fa 100644 (file)
@@ -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