summaryrefslogtreecommitdiff
path: root/libavfilter/vf_siti.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-04-01 20:54:54 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-04-01 21:29:01 +0200
commit2b2380c098569af88e7a77aff78f330d11090512 (patch)
tree1f41c9459c6d7dc879715692ff0383e9a5e60086 /libavfilter/vf_siti.c
parent80831e742b3cf58ef3f23cc66be23df2c41c3901 (diff)
avfilter: Constify non-const filters
This makes the filters match their declaration in libavfilter/allfilters.c; the earlier discrepancy was btw UB. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_siti.c')
-rw-r--r--libavfilter/vf_siti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_siti.c b/libavfilter/vf_siti.c
index b0d3d95be2..94cf4e3c5c 100644
--- a/libavfilter/vf_siti.c
+++ b/libavfilter/vf_siti.c
@@ -335,7 +335,7 @@ static const AVFilterPad avfilter_vf_siti_outputs[] = {
},
};
-AVFilter ff_vf_siti = {
+const AVFilter ff_vf_siti = {
.name = "siti",
.description = NULL_IF_CONFIG_SMALL("Calculate spatial information (SI) and temporal information (TI)."),
.priv_size = sizeof(SiTiContext),