summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/lavfi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/player/lavfi.c b/player/lavfi.c
index 118a766ea2..40537c7ba8 100644
--- a/player/lavfi.c
+++ b/player/lavfi.c
@@ -464,8 +464,10 @@ static void feed_input_pads(struct lavfi *c)
pad->input_needed = false;
pad->input_eof |= !pad->connected;
+#if LIBAVFILTER_VERSION_MICRO >= 100
if (!av_buffersrc_get_nb_failed_requests(pad->buffer))
continue;
+#endif
if (c->draining_recover_eof || c->draining_new_format)
continue;