avfilter/af_asetnsamples: use correct function

This commit is contained in:
Paul B Mahol 2019-04-07 21:15:13 +02:00
parent 3a2adeedaf
commit ecdaa4b4fa
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ static int activate(AVFilterContext *ctx)
if (ret > 0) {
if ((!s->pad || (s->pad && frame->nb_samples == s->nb_out_samples))) {
ret = ff_filter_frame(outlink, frame);
if (ff_framequeue_queued_samples(inlink) >= s->nb_out_samples)
if (ff_inlink_queued_samples(inlink) >= s->nb_out_samples)
ff_filter_set_ready(ctx, 100);
return ret;
}