From 4b4f16cdc00029dbb380f91a05de80fb1fcd57d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Tue, 11 Dec 2012 18:14:08 +0100 Subject: [PATCH] lavfi/fps: remove parse opt error message. See cc650cf0 for more info. --- libavfilter/vf_fps.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c index 4c8444d6f2..d4305e7273 100644 --- a/libavfilter/vf_fps.c +++ b/libavfilter/vf_fps.c @@ -80,11 +80,8 @@ static av_cold int init(AVFilterContext *ctx, const char *args) s->class = &fps_class; av_opt_set_defaults(s); - if ((ret = av_opt_set_from_string(s, args, shorthand, "=", ":")) < 0) { - av_log(ctx, AV_LOG_ERROR, "Error parsing the options string %s.\n", - args); + if ((ret = av_opt_set_from_string(s, args, shorthand, "=", ":")) < 0) return ret; - } if ((ret = av_parse_video_rate(&s->framerate, s->fps)) < 0) { av_log(ctx, AV_LOG_ERROR, "Error parsing framerate %s.\n", s->fps);