summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-09-04 18:21:28 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-09-04 18:21:28 +0000
commit5f76d2416b181f2b423f9d02c8029edd45545b3e (patch)
tree96eb8ec9f55984595b8ea4c9aa0ef63512f86e61 /libvo
parentdcfd043ea8d0c46929aad78596314d837c290d39 (diff)
downloadmpv-5f76d2416b181f2b423f9d02c8029edd45545b3e.tar.bz2
mpv-5f76d2416b181f2b423f9d02c8029edd45545b3e.tar.xz
Subopt parser subopts should now be const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29645 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_corevideo.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_corevideo.m b/libvo/vo_corevideo.m
index 099963c167..3adfa5d856 100644
--- a/libvo/vo_corevideo.m
+++ b/libvo/vo_corevideo.m
@@ -337,7 +337,7 @@ static void uninit(void)
buffer_name = NULL;
}
-static opt_t subopts[] = {
+static const opt_t subopts[] = {
{"device_id", OPT_ARG_INT, &screen_id, NULL},
{"shared_buffer", OPT_ARG_BOOL, &shared_buffer, NULL},
{"buffer_name", OPT_ARG_MSTRZ,&buffer_name, NULL},