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

It results in spurious errors when using the new preparser.
This commit is contained in:
Anton Khirnov 2012-06-11 10:18:51 +02:00
parent 8c9af5b205
commit 0ec1642b60

View File

@ -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;
}