Skip to content
Snippets Groups Projects
Commit f77a695d authored by William Yu's avatar William Yu Committed by Michael Niedermayer
Browse files

lavfi: af_amerge options array was not ended with NULL


Add a NULL to prevent undefined behavior

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent cd65cd8c
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,7 @@ typedef struct { ...@@ -49,6 +49,7 @@ typedef struct {
static const AVOption amerge_options[] = { static const AVOption amerge_options[] = {
{ "inputs", "specify the number of inputs", OFFSET(nb_inputs), { "inputs", "specify the number of inputs", OFFSET(nb_inputs),
AV_OPT_TYPE_INT, { .dbl = 2 }, 2, SWR_CH_MAX }, AV_OPT_TYPE_INT, { .dbl = 2 }, 2, SWR_CH_MAX },
{0}
}; };
static const AVClass amerge_class = { static const AVClass amerge_class = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment