Commit 083d0f6b authored by Anton Khirnov's avatar Anton Khirnov

asplit: don't leak the input buffer.

parent 1ffb6456
......@@ -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 = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment