[FFmpeg-cvslog] avfilter/af_asetnsamples: use correct function
Paul B Mahol
git at videolan.org
Sun Apr 7 22:17:13 EEST 2019
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Apr 7 21:15:13 2019 +0200| [ecdaa4b4fa5272d6798ddaec0b3b719ac0d512c1] | committer: Paul B Mahol
avfilter/af_asetnsamples: use correct function
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ecdaa4b4fa5272d6798ddaec0b3b719ac0d512c1
---
libavfilter/af_asetnsamples.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
More information about the ffmpeg-cvslog
mailing list