Commit 4b4f16cd authored by Clément Bœsch's avatar Clément Bœsch

lavfi/fps: remove parse opt error message.

See cc650cf0 for more info.
parent b2f2321c
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment