[FFmpeg-cvslog] lavf/cover_rect: Fix logic check issue

Jun Zhao git at videolan.org
Fri May 10 04:13:16 EEST 2019


ffmpeg | branch: master | Jun Zhao <barryjzhao at tencent.com> | Wed May  8 21:54:46 2019 +0800| [c9671289521226dd7d3213377a14331e73cb6283] | committer: Jun Zhao

lavf/cover_rect: Fix logic check issue

Fix logic check issue #6741

Reviewed-by: Michael Niedermayer <michael at niedermayer.cc>
Signed-off-by: Jun Zhao <barryjzhao at tencent.com>

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

 libavfilter/vf_cover_rect.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_cover_rect.c b/libavfilter/vf_cover_rect.c
index f7f61038e3..41cd1a12b9 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);
     }



More information about the ffmpeg-cvslog mailing list