diff libvo/vo_png.c @ 28922:9dd905e52639

Remove obsolete extra elements from opt_t struct initialization. Fixes a bunch of 'excess elements in struct initializer' warnings.
author diego
date Sun, 15 Mar 2009 10:03:09 +0000
parents 56eee6ffba9b
children 0f1b5b68af32
line wrap: on
line diff
--- a/libvo/vo_png.c	Sun Mar 15 10:01:02 2009 +0000
+++ b/libvo/vo_png.c	Sun Mar 15 10:03:09 2009 +0000
@@ -291,9 +291,9 @@
 }
 
 static const opt_t subopts[] = {
-    {"alpha", OPT_ARG_BOOL, &use_alpha, NULL, 0},
+    {"alpha", OPT_ARG_BOOL, &use_alpha, NULL},
     {"z",   OPT_ARG_INT, &z_compression, (opt_test_f)int_zero_to_nine},
-    {"outdir",      OPT_ARG_MSTRZ,  &png_outdir,           NULL, 0},
+    {"outdir",      OPT_ARG_MSTRZ,  &png_outdir,           NULL},
     {NULL}
 };