From: Anton Khirnov Date: Mon, 11 Jun 2012 08:18:51 +0000 (+0200) Subject: cmdutils: don't log an error in opt_default(). X-Git-Tag: n1.1~19^2~95 X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=0ec1642b60a5b1a4d913e2b9e3899173dff77e7a cmdutils: don't log an error in opt_default(). It results in spurious errors when using the new preparser. --- diff --git a/cmdutils.c b/cmdutils.c index f2e0651bb9..578ddf3b6f 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; }