This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 4f09194ac2caae0e966863f5aa3d7692a239f969
Author:     Ramiro Polla <[email protected]>
AuthorDate: Thu Oct 8 14:45:26 2026 +0200
Commit:     Ramiro Polla <[email protected]>
CommitDate: Mon Oct 12 18:00:45 2026 +0000

    avfilter/af_lv2: NULL-terminate array of features the host supports
    
    The documentation for lilv_plugin_instantiate() specifies that the array
    of features the host supports should be NULL-terminated.
---
 libavfilter/af_lv2.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavfilter/af_lv2.c b/libavfilter/af_lv2.c
index c34f6eb30c..cd30e7ac28 100644
--- a/libavfilter/af_lv2.c
+++ b/libavfilter/af_lv2.c
@@ -67,7 +67,7 @@ typedef struct LV2Context {
     LV2_Feature        unmap_feature;
     LV2_Atom_Sequence  seq_in[2];
     LV2_Atom_Sequence *seq_out;
-    const LV2_Feature *features[5];
+    const LV2_Feature *features[6];
 
     float *mins;
     float *maxes;
@@ -285,6 +285,7 @@ static int config_output(AVFilterLink *outlink)
     s->features[2] = &buf_size_features[0];
     s->features[3] = &buf_size_features[1];
     s->features[4] = &buf_size_features[2];
+    s->features[5] = NULL;
 
     if (ctx->nb_inputs) {
         AVFilterLink *inlink = ctx->inputs[0];

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to