diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-15 10:03:09 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-15 10:03:09 +0000 |
commit | 8484309af23652bbb4155ad3f840aeb10a4def8d (patch) | |
tree | 9a606710520dbae951f5d5e57b94c97fd3667d82 /libvo/vo_zr2.c | |
parent | 17d0933e5710a96c9a182f764e353a930721f104 (diff) | |
download | mpv-8484309af23652bbb4155ad3f840aeb10a4def8d.tar.bz2 mpv-8484309af23652bbb4155ad3f840aeb10a4def8d.tar.xz |
Remove obsolete extra elements from opt_t struct initialization.
Fixes a bunch of 'excess elements in struct initializer' warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28957 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_zr2.c')
-rw-r--r-- | libvo/vo_zr2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libvo/vo_zr2.c b/libvo/vo_zr2.c index 34a92c4172..262127e1da 100644 --- a/libvo/vo_zr2.c +++ b/libvo/vo_zr2.c @@ -210,10 +210,10 @@ static int preinit(const char *arg) { char *dev_arg = NULL, *norm_arg = NULL; int norm = VIDEO_MODE_AUTO, prebuf = 0; const opt_t subopts[] = { /* don't want warnings with -Wall... */ - { "dev", OPT_ARG_MSTRZ, &dev_arg, NULL, 0 }, - { "prebuf", OPT_ARG_BOOL, &prebuf, (opt_test_f)pbc, 0 }, - { "norm", OPT_ARG_MSTRZ, &norm_arg, (opt_test_f)nc, 0 }, - { NULL, 0, NULL, NULL, 0 } + { "dev", OPT_ARG_MSTRZ, &dev_arg, NULL }, + { "prebuf", OPT_ARG_BOOL, &prebuf, (opt_test_f)pbc }, + { "norm", OPT_ARG_MSTRZ, &norm_arg, (opt_test_f)nc }, + { NULL, 0, NULL, NULL } }; VERBOSE("preinit() called with arg: %s\n", arg); |