[FFmpeg-cvslog] cmdutils: don't log an error in opt_default().

Anton Khirnov git at videolan.org
Wed Dec 19 22:51:58 CET 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Jun 11 10:18:51 2012 +0200| [0ec1642b60a5b1a4d913e2b9e3899173dff77e7a] | committer: Anton Khirnov

cmdutils: don't log an error in opt_default().

It results in spurious errors when using the new preparser.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0ec1642b60a5b1a4d913e2b9e3899173dff77e7a
---

 cmdutils.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/cmdutils.c b/cmdutils.c
index f2e0651..578ddf3 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -435,7 +435,6 @@ int opt_default(void *optctx, const char *opt, const char *arg)
 
     if (o)
         return 0;
-    av_log(NULL, AV_LOG_ERROR, "Unrecognized option '%s'\n", opt);
     return AVERROR_OPTION_NOT_FOUND;
 }
 



More information about the ffmpeg-cvslog mailing list