summaryrefslogtreecommitdiff
path: root/libavfilter/vf_fps.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-12-11 18:14:08 +0100
committerClément Bœsch <ubitux@gmail.com>2012-12-11 18:14:08 +0100
commit4b4f16cdc00029dbb380f91a05de80fb1fcd57d7 (patch)
tree0386af053388072d5e3b8ce3eab3023628153976 /libavfilter/vf_fps.c
parentb2f2321cecf3a52b5b0c6408950de0e86ae8d625 (diff)
lavfi/fps: remove parse opt error message.
See cc650cf0 for more info.
Diffstat (limited to 'libavfilter/vf_fps.c')
-rw-r--r--libavfilter/vf_fps.c5
1 files changed, 1 insertions, 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);