aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-01-12 02:32:41 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-12 16:32:54 +0100
commitf068ce570f7c378106bd7afdad6455b22ac28020 (patch)
treefb7b3a5b7d9e9ad3dbc7ec9fc8e1165c64e06f0a /libavfilter/internal.h
parent4fd1e2e43233960f122a2c16841834d388d77c60 (diff)
downloadffmpeg-f068ce570f7c378106bd7afdad6455b22ac28020.tar.gz
avfilter: pool draining and self destruction support.
This should fix a memleak. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 227fe6243d..575bcff364 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -31,6 +31,8 @@
typedef struct AVFilterPool {
AVFilterBufferRef *pic[POOL_SIZE];
int count;
+ int refcount;
+ int draining;
} AVFilterPool;
typedef struct AVFilterCommand {