git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8c9af5b
)
cmdutils: don't log an error in opt_default().
author
Anton Khirnov
<anton@khirnov.net>
Mon, 11 Jun 2012 08:18:51 +0000
(10:18 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Tue, 18 Dec 2012 19:14:46 +0000
(20:14 +0100)
It results in spurious errors when using the new preparser.
cmdutils.c
patch
|
blob
|
history
diff --git
a/cmdutils.c
b/cmdutils.c
index
f2e0651
..
578ddf3
100644
(file)
--- 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;
if (o)
return 0;
- av_log(NULL, AV_LOG_ERROR, "Unrecognized option '%s'\n", opt);
return AVERROR_OPTION_NOT_FOUND;
}
return AVERROR_OPTION_NOT_FOUND;
}