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/asrc_flite.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libavfilter/asrc_flite.c') diff --git a/libavfilter/asrc_flite.c b/libavfilter/asrc_flite.c index 71271be5e4..49f15da160 100644 --- a/libavfilter/asrc_flite.c +++ b/libavfilter/asrc_flite.c @@ -138,10 +138,8 @@ static av_cold int init(AVFilterContext *ctx, const char *args) flite->class = &flite_class; av_opt_set_defaults(flite); - if ((ret = av_set_options_string(flite, args, "=", ":")) < 0) { - av_log(ctx, AV_LOG_ERROR, "Error parsing options string: '%s'\n", args); + if ((ret = av_set_options_string(flite, args, "=", ":")) < 0) return ret; - } if (flite->list_voices) { list_voices(ctx, "\n"); -- cgit v1.2.3