diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-07-03 11:26:45 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-07-09 08:22:11 +0200 |
commit | 083d0f6be8a22ce936c4be6f17977104e516434f (patch) | |
tree | fabc9e72d4e9ca5cfbac62fc949813dd2a67cbe2 | |
parent | 1ffb6456629314e992e2b55dd0649f0fb975b6fa (diff) | |
download | ffmpeg-083d0f6be8a22ce936c4be6f17977104e516434f.tar.gz |
asplit: don't leak the input buffer.
-rw-r--r-- | libavfilter/split.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/split.c b/libavfilter/split.c index f1c4b9287d..ae810e52c6 100644 --- a/libavfilter/split.c +++ b/libavfilter/split.c @@ -118,6 +118,7 @@ static void filter_samples(AVFilterLink *inlink, AVFilterBufferRef *samplesref) for (i = 0; i < ctx->nb_outputs; i++) ff_filter_samples(inlink->dst->outputs[i], avfilter_ref_buffer(samplesref, ~AV_PERM_WRITE)); + avfilter_unref_buffer(samplesref); } AVFilter avfilter_af_asplit = { |