comparison opt.c @ 6353:42a3c36e3303 libavcodec

Fix opt.c: In function ¡Æav_set_string¡Ç: opt.c:164: warning: passing argument 9 of ¡Æff_eval2¡Ç from incompatible pointer type
author lucabe
date Fri, 15 Feb 2008 11:38:38 +0000
parents 72bb141d9c05
children 355b2eb9f553
comparison
equal deleted inserted replaced
6352:a14abb3d08aa 6353:42a3c36e3303
149 for(;;){ 149 for(;;){
150 int i; 150 int i;
151 char buf[256]; 151 char buf[256];
152 int cmd=0; 152 int cmd=0;
153 double d; 153 double d;
154 char *error = NULL; 154 const char *error = NULL;
155 155
156 if(*val == '+' || *val == '-') 156 if(*val == '+' || *val == '-')
157 cmd= *(val++); 157 cmd= *(val++);
158 158
159 for(i=0; i<sizeof(buf)-1 && val[i] && val[i]!='+' && val[i]!='-'; i++) 159 for(i=0; i<sizeof(buf)-1 && val[i] && val[i]!='+' && val[i]!='-'; i++)