Mercurial > mplayer.hg
diff libao2/ao_mpegpes.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 | 02b9c1a452e1 |
line wrap: on
line diff
--- a/libao2/ao_mpegpes.c Wed Sep 02 11:07:02 2009 +0000 +++ b/libao2/ao_mpegpes.c Wed Sep 02 11:33:37 2009 +0000 @@ -158,7 +158,7 @@ int card = -1; char *ao_file = NULL; - opt_t subopts[] = { + const opt_t subopts[] = { {"card", OPT_ARG_INT, &card, NULL}, {"file", OPT_ARG_MSTRZ, &ao_file, NULL}, {NULL}