comparison 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
comparison
equal deleted inserted replaced
29585:a17d4f8040f1 29586:2eff450157cd
156 static int preinit(const char *arg) 156 static int preinit(const char *arg)
157 { 157 {
158 int card = -1; 158 int card = -1;
159 char *ao_file = NULL; 159 char *ao_file = NULL;
160 160
161 opt_t subopts[] = { 161 const opt_t subopts[] = {
162 {"card", OPT_ARG_INT, &card, NULL}, 162 {"card", OPT_ARG_INT, &card, NULL},
163 {"file", OPT_ARG_MSTRZ, &ao_file, NULL}, 163 {"file", OPT_ARG_MSTRZ, &ao_file, NULL},
164 {NULL} 164 {NULL}
165 }; 165 };
166 166