提交 0be2f1e3 编写于 作者: S Stefano Sabatini 提交者: Benoit Fouet

Fix a typo.

Patch by Stefano Sabatini stefanoDOTsabatini-lalaATpostePOINTit

Originally committed as revision 13140 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册