Commit a1a95df500 for ffmpeg

commit a1a95df500cb6b9b9463157a4af7801239bc6dc0
Author: Ramiro Polla <ramiro.polla@gmail.com>
Date:   Thu Oct 8 16:25:03 2026 +0200

    avfilter/af_lv2: move the bounded block check earlier in config_output()

    This will simplify the following commit.

diff --git a/libavfilter/af_lv2.c b/libavfilter/af_lv2.c
index cd30e7ac28..e9375b2881 100644
--- a/libavfilter/af_lv2.c
+++ b/libavfilter/af_lv2.c
@@ -298,6 +298,13 @@ static int config_output(AVFilterLink *outlink)
                 return ret;
         }

+        if (lilv_plugin_has_feature(s->plugin, s->powerOf2BlockLength) ||
+            lilv_plugin_has_feature(s->plugin, s->fixedBlockLength) ||
+            lilv_plugin_has_feature(s->plugin, s->boundedBlockLength)) {
+            FilterLink *inl = ff_filter_link(inlink);
+
+            inl->min_samples = inl->max_samples = 4096;
+        }
     } else {
         outlink->sample_rate = sample_rate = s->sample_rate;
         outlink->time_base   = (AVRational){1, s->sample_rate};
@@ -380,15 +387,6 @@ static int config_output(AVFilterLink *outlink)
         }
     }

-    if (s->nb_inputs &&
-        (lilv_plugin_has_feature(s->plugin, s->powerOf2BlockLength) ||
-         lilv_plugin_has_feature(s->plugin, s->fixedBlockLength) ||
-         lilv_plugin_has_feature(s->plugin, s->boundedBlockLength))) {
-        FilterLink *inlink = ff_filter_link(ctx->inputs[0]);
-
-        inlink->min_samples = inlink->max_samples = 4096;
-    }
-
     lilv_instance_activate(s->instance);
     s->instance_activated = 1;