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