[FFmpeg-cvslog] avfilter/vf_ccrepack: Constify filter
Andreas Rheinhardt
git at videolan.org
Thu Jun 29 21:22:52 EEST 2023
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu Jun 29 20:15:36 2023 +0200| [652add3a6d675a568eb7564d85434712829b03d3] | committer: Andreas Rheinhardt
avfilter/vf_ccrepack: Constify filter
The discrepancy between the definition and the declaration
in allfilters.c is actually UB.
Reviewed-by: James Almer <jamrial at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=652add3a6d675a568eb7564d85434712829b03d3
---
libavfilter/vf_ccrepack.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
More information about the ffmpeg-cvslog
mailing list