1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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>
This commit is contained in:
William Yu 2012-06-15 15:46:13 +08:00 committed by Michael Niedermayer
parent cd65cd8c5a
commit f77a695d2e

View 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 = {