]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vsrc_life.c
lavfi: fix erroneous use of AV_PERM_PRESERVE in ff_inplace_start_frame.
[ffmpeg] / libavfilter / vsrc_life.c
index c71291f2717b6d7089d7324b2a8b6d5dc32a2719..b2b7c4a87dcca63e43bfb3d582dabdaa6e8dd107 100644 (file)
@@ -228,10 +228,8 @@ static int init(AVFilterContext *ctx, const char *args)
     life->class = &life_class;
     av_opt_set_defaults(life);
 
-    if ((ret = av_set_options_string(life, args, "=", ":")) < 0) {
-        av_log(ctx, AV_LOG_ERROR, "Error parsing options string: '%s'\n", args);
+    if ((ret = av_set_options_string(life, args, "=", ":")) < 0)
         return ret;
-    }
 
     if ((ret = av_parse_video_rate(&frame_rate, life->rate)) < 0) {
         av_log(ctx, AV_LOG_ERROR, "Invalid frame rate: %s\n", life->rate);