diff --git a/libavfilter/af_asetnsamples.c b/libavfilter/af_asetnsamples.c index cab02d56f6..a7e424f241 100644 --- a/libavfilter/af_asetnsamples.c +++ b/libavfilter/af_asetnsamples.c @@ -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; }