mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
asplit: don't leak the input buffer.
This commit is contained in:
parent
1ffb645662
commit
083d0f6be8
@ -118,6 +118,7 @@ static void filter_samples(AVFilterLink *inlink, AVFilterBufferRef *samplesref)
|
|||||||
for (i = 0; i < ctx->nb_outputs; i++)
|
for (i = 0; i < ctx->nb_outputs; i++)
|
||||||
ff_filter_samples(inlink->dst->outputs[i],
|
ff_filter_samples(inlink->dst->outputs[i],
|
||||||
avfilter_ref_buffer(samplesref, ~AV_PERM_WRITE));
|
avfilter_ref_buffer(samplesref, ~AV_PERM_WRITE));
|
||||||
|
avfilter_unref_buffer(samplesref);
|
||||||
}
|
}
|
||||||
|
|
||||||
AVFilter avfilter_af_asplit = {
|
AVFilter avfilter_af_asplit = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user