diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c
index 95dd1ae4795e16144647cc0a923ce4a5eb6ed417..a8942a18f003f6e6d57166db20b6e1a5188f215c 100644
--- a/libavfilter/af_amerge.c
+++ b/libavfilter/af_amerge.c
@@ -49,6 +49,7 @@ typedef struct {
 static const AVOption amerge_options[] = {
     { "inputs", "specify the number of inputs", OFFSET(nb_inputs),
       AV_OPT_TYPE_INT, { .dbl = 2 }, 2, SWR_CH_MAX },
+    {0}
 };
 
 static const AVClass amerge_class = {