[FFmpeg-devel] [PATCH] cmdutils: remove error message from	opt_default() in case of missing option
    Stefano Sabatini 
    stefasab at gmail.com
       
    Thu Apr  4 22:23:32 CEST 2013
    
    
  
A similar error is generated in the calling function, avoid duplication.
---
 cmdutils.c |    2 --
 1 file changed, 2 deletions(-)
diff --git a/cmdutils.c b/cmdutils.c
index 51ec634..831c528 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -547,8 +547,6 @@ int opt_default(void *optctx, const char *opt, const char *arg)
 
     if (consumed)
         return 0;
-    av_log(NULL, AV_LOG_ERROR, "Could not find option '%s' in any of the FFmpeg subsystems "
-           "(codec, format, scaler, resampler contexts)\n", opt);
     return AVERROR_OPTION_NOT_FOUND;
 }
 
-- 
1.7.9.5
    
    
More information about the ffmpeg-devel
mailing list