diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-01-12 02:32:41 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-12 16:32:54 +0100 |
commit | f068ce570f7c378106bd7afdad6455b22ac28020 (patch) | |
tree | fb7b3a5b7d9e9ad3dbc7ec9fc8e1165c64e06f0a /libavfilter/internal.h | |
parent | 4fd1e2e43233960f122a2c16841834d388d77c60 (diff) | |
download | ffmpeg-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.h | 2 |
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 { |