Commit 0ec1642b authored by Anton Khirnov's avatar Anton Khirnov

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

It results in spurious errors when using the new preparser.
parent 8c9af5b2
...@@ -435,7 +435,6 @@ int opt_default(void *optctx, const char *opt, const char *arg) ...@@ -435,7 +435,6 @@ int opt_default(void *optctx, const char *opt, const char *arg)
if (o) if (o)
return 0; return 0;
av_log(NULL, AV_LOG_ERROR, "Unrecognized option '%s'\n", opt);
return AVERROR_OPTION_NOT_FOUND; return AVERROR_OPTION_NOT_FOUND;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment