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>
pull/311/head
Jun Zhao 6 years ago
parent 479a5f644f
commit c967128952
  1. 2
      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);
}

Loading…
Cancel
Save