Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-07-03 13:26:45 +0400
committerAnton Khirnov <anton@khirnov.net>2012-07-09 10:22:11 +0400
commit083d0f6be8a22ce936c4be6f17977104e516434f (patch)
treefabc9e72d4e9ca5cfbac62fc949813dd2a67cbe2 /libavfilter/split.c
parent1ffb6456629314e992e2b55dd0649f0fb975b6fa (diff)
asplit: don't leak the input buffer.
Diffstat (limited to 'libavfilter/split.c')
-rw-r--r--libavfilter/split.c1
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 = {