comparison 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
comparison
equal deleted inserted replaced
28921:62f0032e736a 28922:9dd905e52639
1525 struct sdl_priv_s *priv = &sdl_priv; 1525 struct sdl_priv_s *priv = &sdl_priv;
1526 char * sdl_driver = NULL; 1526 char * sdl_driver = NULL;
1527 int sdl_hwaccel; 1527 int sdl_hwaccel;
1528 int sdl_forcexv; 1528 int sdl_forcexv;
1529 const opt_t subopts[] = { 1529 const opt_t subopts[] = {
1530 {"forcexv", OPT_ARG_BOOL, &sdl_forcexv, NULL, 0}, 1530 {"forcexv", OPT_ARG_BOOL, &sdl_forcexv, NULL},
1531 {"hwaccel", OPT_ARG_BOOL, &sdl_hwaccel, NULL, 0}, 1531 {"hwaccel", OPT_ARG_BOOL, &sdl_hwaccel, NULL},
1532 {"driver", OPT_ARG_MSTRZ, &sdl_driver, NULL, 0}, 1532 {"driver", OPT_ARG_MSTRZ, &sdl_driver, NULL},
1533 {NULL, 0, NULL, NULL, 0} 1533 {NULL, 0, NULL, NULL}
1534 }; 1534 };
1535 1535
1536 sdl_forcexv = 1; 1536 sdl_forcexv = 1;
1537 sdl_hwaccel = 1; 1537 sdl_hwaccel = 1;
1538 1538