diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index 3e05fb37e6..5d834b549c 100644 --- a/libavfilter/buffersrc.c +++ b/libavfilter/buffersrc.c @@ -123,6 +123,8 @@ static int attribute_align_arg av_buffersrc_add_frame_internal(AVFilterContext * AVFrame *copy; int ret; + s->nb_failed_requests = 0; + if (!frame) { s->eof = 1; return 0;