aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorWilliam Yu <genwillyu@gmail.com>2012-06-15 15:46:13 +0800
committerMichael Niedermayer <michaelni@gmx.at>2012-06-15 11:22:05 +0200
commitf77a695d2e7c309823e69c6bf4078e5beaf61f13 (patch)
tree44e47bfaac8ecd84b94b8c526217a481a15319bf /libavfilter
parentcd65cd8c5ab0981c7fc5f51d5d8fddf0eab426a2 (diff)
downloadffmpeg-f77a695d2e7c309823e69c6bf4078e5beaf61f13.tar.gz
lavfi: af_amerge options array was not ended with NULL
Add a NULL to prevent undefined behavior Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/af_amerge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c
index 95dd1ae479..a8942a18f0 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 = {