lavfi/vf_mergeplanes: remove redundant assignment

It is already done in init.
master
Anton Khirnov 3 months ago
parent c19f3fe61b
commit 989bc256a3
  1. 1
      libavfilter/vf_mergeplanes.c

@ -127,7 +127,6 @@ static int query_formats(AVFilterContext *ctx)
AVFilterFormats *formats = NULL; AVFilterFormats *formats = NULL;
int i, ret; int i, ret;
s->outdesc = av_pix_fmt_desc_get(s->out_fmt);
for (i = 0; av_pix_fmt_desc_get(i); i++) { for (i = 0; av_pix_fmt_desc_get(i); i++) {
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(i); const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(i);
if (desc->comp[0].depth == s->outdesc->comp[0].depth && if (desc->comp[0].depth == s->outdesc->comp[0].depth &&

Loading…
Cancel
Save