changeset 29603:4c81686ad728

Subopt parser subopts should now be const.
author reimar
date Fri, 04 Sep 2009 18:21:28 +0000
parents 8f25ecc08eb0
children cd056d688db8
files libvo/vo_corevideo.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_corevideo.m	Fri Sep 04 12:24:45 2009 +0000
+++ b/libvo/vo_corevideo.m	Fri Sep 04 18:21:28 2009 +0000
@@ -337,7 +337,7 @@
     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},