Mercurial > mplayer.hg
diff libao2/ao_jack.c @ 29586:2eff450157cd
The suboption parser now takes a const options list, so mark them all const.
author | reimar |
---|---|
date | Wed, 02 Sep 2009 11:33:37 +0000 |
parents | 0f1b5b68af32 |
children | 32725ca88fed |
line wrap: on
line diff
--- a/libao2/ao_jack.c Wed Sep 02 11:07:02 2009 +0000 +++ b/libao2/ao_jack.c Wed Sep 02 11:33:37 2009 +0000 @@ -208,7 +208,7 @@ char *port_name = NULL; char *client_name = NULL; int autostart = 0; - opt_t subopts[] = { + const opt_t subopts[] = { {"port", OPT_ARG_MSTRZ, &port_name, NULL}, {"name", OPT_ARG_MSTRZ, &client_name, NULL}, {"estimate", OPT_ARG_BOOL, &estimate, NULL},