[FFmpeg-devel] [PATCH 3/3] avfilter/vf_ssim369: Constify AVFilter

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sat Jan 28 19:09:20 EET 2023


This brings ff_vf_ssim360 in line with its declaration in allfilters.c;
this discrepancy is actually undefined behaviour.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavfilter/vf_ssim360.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_ssim360.c b/libavfilter/vf_ssim360.c
index 35b0819d5f..3eb8e43bbc 100644
--- a/libavfilter/vf_ssim360.c
+++ b/libavfilter/vf_ssim360.c
@@ -1751,7 +1751,7 @@ static const AVFilterPad ssim360_outputs[] = {
     },
 };
 
-AVFilter ff_vf_ssim360 = {
+const AVFilter ff_vf_ssim360 = {
     .name          = "ssim360",
     .description   = NULL_IF_CONFIG_SMALL("Calculate the SSIM between two 360 video streams."),
     .preinit       = ssim360_framesync_preinit,
-- 
2.34.1



More information about the ffmpeg-devel mailing list