ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | 
Sat Jan 28 18:02:02 2023 +0100| [5fd4d3faf1c28b3154110bf5e98401bf0328189d] | 
committer: Andreas Rheinhardt

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 <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5fd4d3faf1c28b3154110bf5e98401bf0328189d
---

 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),

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to