Commit 0be2f1e3 authored by Stefano Sabatini's avatar Stefano Sabatini Committed by Benoit Fouet

Fix a typo.

Patch by Stefano Sabatini stefanoDOTsabatini-lalaATpostePOINTit

Originally committed as revision 13140 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3f8adf26
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment