summaryrefslogtreecommitdiff
path: root/libavfilter/vf_cover_rect.c
diff options
context:
space:
mode:
authorJun Zhao <barryjzhao@tencent.com>2019-05-08 21:54:46 +0800
committerJun Zhao <barryjzhao@tencent.com>2019-05-10 09:07:29 +0800
commitc9671289521226dd7d3213377a14331e73cb6283 (patch)
treec47b0cc7356c8d6bcc323c12bc1ed0f14bbc2551 /libavfilter/vf_cover_rect.c
parent479a5f644f07d78b2de0536d85a094c2f73b0d7d (diff)
lavf/cover_rect: Fix logic check issue
Fix logic check issue #6741 Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Diffstat (limited to 'libavfilter/vf_cover_rect.c')
-rw-r--r--libavfilter/vf_cover_rect.c2
1 files changed, 1 insertions, 1 deletions
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);
}