diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-08-09 00:49:27 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-08-09 08:11:00 +0200 |
commit | cc650cf029d8a2aa3c245b014363db673fd2d722 (patch) | |
tree | 19cd52f75fb09d8c11b52e5b83bf66f73acdbfd0 /libavfilter/vf_delogo.c | |
parent | 5d8e54fe1ded58cd2d76c112041f5202ce762aef (diff) | |
download | ffmpeg-streaming-cc650cf029d8a2aa3c245b014363db673fd2d722.zip ffmpeg-streaming-cc650cf029d8a2aa3c245b014363db673fd2d722.tar.gz |
Remove "Error parsing options string [...]" messages.
This reduces from 3 to 2 messages for the same syntax error in ffprobe,
and from 4 to 3 in filters.
Diffstat (limited to 'libavfilter/vf_delogo.c')
-rw-r--r-- | libavfilter/vf_delogo.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c index c520362..a80b1fe 100644 --- a/libavfilter/vf_delogo.c +++ b/libavfilter/vf_delogo.c @@ -180,10 +180,8 @@ static av_cold int init(AVFilterContext *ctx, const char *args) if (ret == 5) { if (delogo->band < 0) delogo->show = 1; - } else if ((ret = (av_set_options_string(delogo, args, "=", ":"))) < 0) { - av_log(ctx, AV_LOG_ERROR, "Error parsing options string: '%s'\n", args); + } else if ((ret = (av_set_options_string(delogo, args, "=", ":"))) < 0) return ret; - } #define CHECK_UNSET_OPT(opt) \ if (delogo->opt == -1) { \ |