diff mbox series

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

Message ID GV1P250MB0737E1CA3CBAE6769013B0928FCD9@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit 35f837710caf9cce3e098dbc2ae42f8b12b19828
Headers show
Series [FFmpeg-devel,1/3] avfilter/vf_ssim360: Fix left-shift of negative value | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Jan. 28, 2023, 5:09 p.m. UTC
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@outlook.com>
---
 libavfilter/vf_ssim360.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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,