[FFmpeg-devel] [PATCH 2/3] avfilter/vf_ssim360: Don't initialize twice
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Sat Jan 28 19:09:19 EET 2023
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]"
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
libavfilter/vf_ssim360.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavfilter/vf_ssim360.c b/libavfilter/vf_ssim360.c
index 89f5100740..35b0819d5f 100644
--- a/libavfilter/vf_ssim360.c
+++ b/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),
--
2.34.1
More information about the ffmpeg-devel
mailing list