From 05119ecaf6e8628377f324da97ff6af58f3e380f Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 7 Mar 2009 08:51:40 +0000 Subject: Make data related to suboption parsing const in libvo git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28863 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_zr2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo/vo_zr2.c') diff --git a/libvo/vo_zr2.c b/libvo/vo_zr2.c index fb1fa025e6..34a92c4172 100644 --- a/libvo/vo_zr2.c +++ b/libvo/vo_zr2.c @@ -209,7 +209,7 @@ static int preinit(const char *arg) { const char *dev = NULL; char *dev_arg = NULL, *norm_arg = NULL; int norm = VIDEO_MODE_AUTO, prebuf = 0; - opt_t subopts[] = { /* don't want warnings with -Wall... */ + 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 }, -- cgit v1.2.3