[FFmpeg-devel,1/7] vf_cover_rect: Fix repeated condition

Submitted by Mark Thompson on Oct. 17, 2017, 10:11 p.m.

Details

Message ID 20171017221159.2349-1-sw@jkqxz.net
State Accepted
Commit c9671289521226dd7d3213377a14331e73cb6283
Headers show

Commit Message

Mark Thompson Oct. 17, 2017, 10:11 p.m.
Fixes #6741.
---
 libavfilter/vf_cover_rect.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Niedermayer Oct. 19, 2017, 1:19 a.m.
On Tue, Oct 17, 2017 at 11:11:53PM +0100, Mark Thompson wrote:
> Fixes #6741.
> ---
>  libavfilter/vf_cover_rect.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

LGTM

thx

[...]

Patch hide | download patch | download mbox

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);
     }