changeset 6794:ba5913f27124 libavcodec

Fix a typo. Patch by Stefano Sabatini stefanoDOTsabatini-lalaATpostePOINTit
author benoit
date Tue, 13 May 2008 00:49:38 +0000
parents 3a715cb7f4b2
children 6c7e7fdedfd3
files opt.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
                 }