]> git.sesse.net Git - ffmpeg/commitdiff
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 95dd1ae4795e16144647cc0a923ce4a5eb6ed417..a8942a18f003f6e6d57166db20b6e1a5188f215c 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 = {