From cc650cf029d8a2aa3c245b014363db673fd2d722 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Thu, 9 Aug 2012 00:49:27 +0200 Subject: 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. --- libavfilter/af_join.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libavfilter/af_join.c') diff --git a/libavfilter/af_join.c b/libavfilter/af_join.c index f25ec921dc..37bad9c7ea 100644 --- a/libavfilter/af_join.c +++ b/libavfilter/af_join.c @@ -193,10 +193,8 @@ static int join_init(AVFilterContext *ctx, const char *args) s->class = &join_class; av_opt_set_defaults(s); - if ((ret = av_set_options_string(s, args, "=", ":")) < 0) { - av_log(ctx, AV_LOG_ERROR, "Error parsing options string '%s'.\n", args); + if ((ret = av_set_options_string(s, args, "=", ":")) < 0) return ret; - } if (!(s->channel_layout = av_get_channel_layout(s->channel_layout_str))) { av_log(ctx, AV_LOG_ERROR, "Error parsing channel layout '%s'.\n", -- cgit v1.2.3