[FFmpeg-cvslog] avfilter/vf_guided: remove excessive parentheses

Paul B Mahol git at videolan.org
Tue May 3 00:46:28 EEST 2022


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon May  2 23:27:18 2022 +0200| [3e4d68f2b6d3351500f303d56dd9514d6e70b88a] | committer: Paul B Mahol

avfilter/vf_guided: remove excessive parentheses

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

 libavfilter/vf_guided.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c
index 45e124b2ed..c4a3902042 100644
--- a/libavfilter/vf_guided.c
+++ b/libavfilter/vf_guided.c
@@ -342,9 +342,8 @@ static int process_frame(FFFrameSync *fs)
         return ff_filter_frame(outlink, main_frame);
 
     ret = filter_frame(ctx, &out_frame, main_frame, ref_frame);
-    if (ret < 0) {
+    if (ret < 0)
         return ret;
-    }
     av_frame_free(&main_frame);
 
     return ff_filter_frame(outlink, out_frame);



More information about the ffmpeg-cvslog mailing list