Browse Source

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>
tags/n1.0
William Yu Michael Niedermayer 13 years ago
parent
commit
f77a695d2e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavfilter/af_amerge.c

+ 1
- 0
libavfilter/af_amerge.c 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 = {


Loading…
Cancel
Save