[FFmpeg-cvslog] r13140 - trunk/libavcodec/opt.c

benoit subversion
Tue May 13 02:49:38 CEST 2008


Author: benoit
Date: Tue May 13 02:49:38 2008
New Revision: 13140

Log:
Fix a typo.
Patch by Stefano Sabatini stefanoDOTsabatini-lalaATpostePOINTit


Modified:
   trunk/libavcodec/opt.c

Modified: trunk/libavcodec/opt.c
==============================================================================
--- trunk/libavcodec/opt.c	(original)
+++ trunk/libavcodec/opt.c	Tue May 13 02:49:38 2008
@@ -172,7 +172,7 @@ const AVOption *av_set_string(void *obj,
                 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;
                 }




More information about the ffmpeg-cvslog mailing list