aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-04-04 22:20:08 +0200
committerStefano Sabatini <stefasab@gmail.com>2013-04-05 10:48:32 +0200
commit495ed19b5bb0b3facb1833001dce4a4419e82800 (patch)
treeb8608f59fd4dd2e914b2a5ad393dd27d151b9deb
parent9b4d9d8795b02688b7140b82d716b3885284efc1 (diff)
downloadffmpeg-495ed19b5bb0b3facb1833001dce4a4419e82800.tar.gz
cmdutils: remove error message from opt_default() in case of missing option
A similar error message is generated by the calling function, avoid duplication and spurious error message occurring with negated boolean options introduced in 8bb5680, which can be reproduced for example with the command: ffmpeg -f lavfi -i testsrc=d=0.1 -nostdin -f null -
-rw-r--r--cmdutils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmdutils.c b/cmdutils.c
index 756cf7154b..ee42fea371 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -547,8 +547,6 @@ int opt_default(void *optctx, const char *opt, const char *arg)
if (consumed)
return 0;
- av_log(NULL, AV_LOG_ERROR, "Could not find option '%s' in any of the FFmpeg subsystems "
- "(codec, format, scaler, resampler contexts)\n", opt);
return AVERROR_OPTION_NOT_FOUND;
}