Prevents triggering an assert in c99conv.
---
Anton, I know you didn't like this but fixing the converter seems to
be non-trivial.

 avconv_opt.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/avconv_opt.c b/avconv_opt.c
index 6c70175..d73181e 100644
--- a/avconv_opt.c
+++ b/avconv_opt.c
@@ -1857,12 +1857,13 @@ void show_usage(void)
 enum OptGroup {
     GROUP_OUTFILE,
     GROUP_INFILE,
+    GROUP_NB
 };
 
 static const OptionGroupDef groups[] = {
     [GROUP_OUTFILE] = { "output file",  NULL },
     [GROUP_INFILE]  = { "input file",   "i"  },
-    { 0 },
+    [GROUP_NB]      = { 0 },
 };
 
 static int open_files(OptionGroupList *l, const char *inout,
-- 
1.7.12.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to