1
mirror of https://github.com/mpv-player/mpv synced 2024-11-07 01:47:00 +01:00

Subopt parser subopts should now be const.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29645 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-09-04 18:21:28 +00:00
parent dcfd043ea8
commit 5f76d2416b

View File

@ -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},