# HG changeset patch # User reimar # Date 1252088488 0 # Node ID 4c81686ad7287fdefafd59f8f2a952658f885802 # Parent 8f25ecc08eb0be0b548e7e903dc97ad903423750 Subopt parser subopts should now be const. diff -r 8f25ecc08eb0 -r 4c81686ad728 libvo/vo_corevideo.m --- 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},