diff 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
line wrap: on
line diff
--- a/opt.c	Mon May 12 19:04:08 2008 +0000
+++ b/opt.c	Tue May 13 00:49:38 2008 +0000
@@ -172,7 +172,7 @@
                 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;
                 }