Fix a typo.

Patch by Stefano Sabatini stefanoDOTsabatini-lalaATpostePOINTit

Originally committed as revision 13140 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2008-05-13 00:49:38 +00:00 committed by Benoit Fouet
parent 3f8adf26a4
commit 0be2f1e3f0
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ const AVOption *av_set_string(void *obj, const char *name, const char *val){
else if(!strcmp(buf, "none" )) d= 0;
else if(!strcmp(buf, "all" )) d= ~0;
else {
if (!error)
if (error)
av_log(NULL, AV_LOG_ERROR, "Unable to parse option value \"%s\": %s\n", val, error);
return NULL;
}