[FFmpeg-devel] [PATCH 1/3] lavf/cover_rect: Fix logic check issue

Jun Zhao mypopydev at gmail.com
Wed May 8 20:32:26 EEST 2019


From: Jun Zhao <barryjzhao at tencent.com>

Fix logic check issue #6741

Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
---
 libavfilter/vf_cover_rect.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavfilter/vf_cover_rect.c b/libavfilter/vf_cover_rect.c
index f7f6103..41cd1a1 100644
--- a/libavfilter/vf_cover_rect.c
+++ b/libavfilter/vf_cover_rect.c
@@ -152,7 +152,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
     }
 
     if (!xendptr || *xendptr || !yendptr || *yendptr ||
-        !wendptr || *wendptr || !hendptr || !hendptr
+        !wendptr || *wendptr || !hendptr || *hendptr
     ) {
         return ff_filter_frame(ctx->outputs[0], in);
     }
-- 
1.7.1



More information about the ffmpeg-devel mailing list