summaryrefslogtreecommitdiffstats
path: root/libvo/vo_zr2.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-07 08:51:40 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-07 08:51:40 +0000
commit05119ecaf6e8628377f324da97ff6af58f3e380f (patch)
treec834455d25553c4131ba56a74ea985f235e00d9b /libvo/vo_zr2.c
parent7e253f01715811e0c4f5f5b54317b098f2cd59d9 (diff)
downloadmpv-05119ecaf6e8628377f324da97ff6af58f3e380f.tar.bz2
mpv-05119ecaf6e8628377f324da97ff6af58f3e380f.tar.xz
Make data related to suboption parsing const in libvo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28863 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_zr2.c')
-rw-r--r--libvo/vo_zr2.c2
1 files changed, 1 insertions, 1 deletions
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 },