1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-03 17:29:30 +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 = {