[FFmpeg-devel] [PATCH 1/3] avfilter/af_atilt: Constify filter
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Sat Oct 9 11:26:05 EEST 2021
(It is actually UB if a declaration and its definition differ wrt
their types like they do in this case (the declaration in allfilters
is const).)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
libavfilter/af_atilt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/af_atilt.c b/libavfilter/af_atilt.c
index c8d55590c3..a1ce030feb 100644
--- a/libavfilter/af_atilt.c
+++ b/libavfilter/af_atilt.c
@@ -253,7 +253,7 @@ static const AVFilterPad outputs[] = {
},
};
-AVFilter ff_af_atilt = {
+const AVFilter ff_af_atilt = {
.name = "atilt",
.description = NULL_IF_CONFIG_SMALL("Apply spectral tilt to audio."),
.priv_size = sizeof(ATiltContext),
--
2.30.2
More information about the ffmpeg-devel
mailing list