diff libvo/vo_sdl.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_sdl.c	Sun Mar 15 10:01:02 2009 +0000
+++ b/libvo/vo_sdl.c	Sun Mar 15 10:03:09 2009 +0000
@@ -1527,10 +1527,10 @@
     int sdl_hwaccel;
     int sdl_forcexv;
     const opt_t subopts[] = {
-	    {"forcexv", OPT_ARG_BOOL,  &sdl_forcexv, NULL, 0},
-	    {"hwaccel", OPT_ARG_BOOL,  &sdl_hwaccel, NULL, 0},
-	    {"driver",  OPT_ARG_MSTRZ, &sdl_driver,  NULL, 0},
-	    {NULL, 0, NULL, NULL, 0}
+	    {"forcexv", OPT_ARG_BOOL,  &sdl_forcexv, NULL},
+	    {"hwaccel", OPT_ARG_BOOL,  &sdl_hwaccel, NULL},
+	    {"driver",  OPT_ARG_MSTRZ, &sdl_driver,  NULL},
+	    {NULL, 0, NULL, NULL}
     };
 
     sdl_forcexv = 1;