[FFmpeg-cvslog] lavfi/fps: remove parse opt error message.

Clément Bœsch git at videolan.org
Tue Dec 11 18:17:00 CET 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Tue Dec 11 18:14:08 2012 +0100| [4b4f16cdc00029dbb380f91a05de80fb1fcd57d7] | committer: Clément Bœsch

lavfi/fps: remove parse opt error message.

See cc650cf0 for more info.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4b4f16cdc00029dbb380f91a05de80fb1fcd57d7
---

 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 4c8444d..d4305e7 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);



More information about the ffmpeg-cvslog mailing list