lavfi: af_amerge options array was not ended with NULL
authorWilliam Yu <genwillyu@gmail.com>
Fri, 15 Jun 2012 07:46:13 +0000 (15:46 +0800)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 15 Jun 2012 09:22:05 +0000 (11:22 +0200)
Add a NULL to prevent undefined behavior

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/af_amerge.c

index 95dd1ae..a8942a1 100644 (file)
@@ -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 = {