[FFmpeg-devel] [PATCH] lavfi: af_amerge options array is not ended with NULL

William Yu genwillyu at gmail.com
Fri Jun 15 09:46:13 CEST 2012


I think options should ended with NULL.

---
 libavfilter/af_amerge.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c
index 95dd1ae..a8942a1 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 = {
-- 
1.7.11.rc1.9.gf623ca1


More information about the ffmpeg-devel mailing list