aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-06-29 20:15:36 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-06-29 20:22:51 +0200
commit652add3a6d675a568eb7564d85434712829b03d3 (patch)
treeaece4b0616d93f2ded8a1c1555be69d8583a2156
parent22c47b10b28c0c47298d34a7108d378be5d7d08e (diff)
downloadffmpeg-652add3a6d675a568eb7564d85434712829b03d3.tar.gz
avfilter/vf_ccrepack: Constify filter
The discrepancy between the definition and the declaration in allfilters.c is actually UB. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavfilter/vf_ccrepack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_ccrepack.c b/libavfilter/vf_ccrepack.c
index 61eb2128ae..950bb7b528 100644
--- a/libavfilter/vf_ccrepack.c
+++ b/libavfilter/vf_ccrepack.c
@@ -92,7 +92,7 @@ static const AVFilterPad avfilter_vf_ccrepack_outputs[] = {
},
};
-AVFilter ff_vf_ccrepack = {
+const AVFilter ff_vf_ccrepack = {
.name = "ccrepack",
.description = NULL_IF_CONFIG_SMALL("Repack CEA-708 closed caption metadata"),
.uninit = uninit,