[FFmpeg-cvslog] avfilter/af_atilt: Constify filter

Andreas Rheinhardt git at videolan.org
Sat Oct 9 14:44:22 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri Oct  8 17:18:08 2021 +0200| [8d0082bedae7cc3a4c3153a83c9ae94c74ae7431] | committer: Andreas Rheinhardt

avfilter/af_atilt: Constify filter

(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).)

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8d0082bedae7cc3a4c3153a83c9ae94c74ae7431
---

 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),



More information about the ffmpeg-cvslog mailing list