From 35f837710caf9cce3e098dbc2ae42f8b12b19828 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sat, 28 Jan 2023 18:04:09 +0100 Subject: [PATCH] avfilter/vf_ssim360: Constify AVFilter This brings ff_vf_ssim360 in line with its declaration in allfilters.c; this discrepancy is actually undefined behaviour. Reviewed-by: Anton Khirnov Signed-off-by: Andreas Rheinhardt --- 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,