avfilter/vf_ssim360: Don't initialize twice

The FILTER_INPUTS and FILTER_OUTPUTS macros already set
AVFilter.(inputs|outputs); Clang therefore emits a warning for
this: "initializer overrides prior initialization of this subobject
[-Winitializer-overrides]"

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
release/6.0
Andreas Rheinhardt 2 years ago
parent 54659e329e
commit 5fd4d3faf1
  1. 2
      libavfilter/vf_ssim360.c

@ -1760,8 +1760,6 @@ AVFilter ff_vf_ssim360 = {
.activate = activate,
.priv_size = sizeof(SSIM360Context),
.priv_class = &ssim360_class,
.inputs = ssim360_inputs,
.outputs = ssim360_outputs,
FILTER_INPUTS(ssim360_inputs),
FILTER_OUTPUTS(ssim360_outputs),
FILTER_PIXFMTS_ARRAY(ssim360_pixfmts),

Loading…
Cancel
Save