ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | 
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 <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>

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

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to