From f77a695d2e7c309823e69c6bf4078e5beaf61f13 Mon Sep 17 00:00:00 2001 From: William Yu Date: Fri, 15 Jun 2012 15:46:13 +0800 Subject: [PATCH 1/1] lavfi: af_amerge options array was not ended with NULL Add a NULL to prevent undefined behavior Signed-off-by: Michael Niedermayer --- libavfilter/af_amerge.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c index 95dd1ae4795..a8942a18f00 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 = { -- 2.39.2