comparison opt.c @ 6794:ba5913f27124 libavcodec

Fix a typo. Patch by Stefano Sabatini stefanoDOTsabatini-lalaATpostePOINTit
author benoit
date Tue, 13 May 2008 00:49:38 +0000
parents 355b2eb9f553
children 51bbc2f553e2
comparison
equal deleted inserted replaced
6793:3a715cb7f4b2 6794:ba5913f27124
170 else if(!strcmp(buf, "max" )) d= o->max; 170 else if(!strcmp(buf, "max" )) d= o->max;
171 else if(!strcmp(buf, "min" )) d= o->min; 171 else if(!strcmp(buf, "min" )) d= o->min;
172 else if(!strcmp(buf, "none" )) d= 0; 172 else if(!strcmp(buf, "none" )) d= 0;
173 else if(!strcmp(buf, "all" )) d= ~0; 173 else if(!strcmp(buf, "all" )) d= ~0;
174 else { 174 else {
175 if (!error) 175 if (error)
176 av_log(NULL, AV_LOG_ERROR, "Unable to parse option value \"%s\": %s\n", val, error); 176 av_log(NULL, AV_LOG_ERROR, "Unable to parse option value \"%s\": %s\n", val, error);
177 return NULL; 177 return NULL;
178 } 178 }
179 } 179 }
180 if(o->type == FF_OPT_TYPE_FLAGS){ 180 if(o->type == FF_OPT_TYPE_FLAGS){