This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit f0eedb48b61de9ee76fcb84a0bb0ac8eb8d1afea
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Oct 13 06:25:02 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Tue Oct 20 20:41:50 2026 +0000

    avfilter/af_alimiter: do not mark attack as a runtime option
    
    Fixes: MxIcMabVhhFR
    Fixes: command without effect
    Command without effect Replicated through UnModified FFmpeg with a plain 
output diff
    Found during triage of the review of 
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24672
---
 libavfilter/af_alimiter.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libavfilter/af_alimiter.c b/libavfilter/af_alimiter.c
index 7318d5d446..786f210bff 100644
--- a/libavfilter/af_alimiter.c
+++ b/libavfilter/af_alimiter.c
@@ -76,13 +76,14 @@ typedef struct AudioLimiterContext {
 } AudioLimiterContext;
 
 #define OFFSET(x) offsetof(AudioLimiterContext, x)
-#define AF AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_FILTERING_PARAM | 
AV_OPT_FLAG_RUNTIME_PARAM
+#define A  AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_FILTERING_PARAM
+#define AF A | AV_OPT_FLAG_RUNTIME_PARAM
 
 static const AVOption alimiter_options[] = {
     { "level_in",  "set input level",  OFFSET(level_in),     
AV_OPT_TYPE_DOUBLE, {.dbl=1},.015625,   64, AF },
     { "level_out", "set output level", OFFSET(level_out),    
AV_OPT_TYPE_DOUBLE, {.dbl=1},.015625,   64, AF },
     { "limit",     "set limit",        OFFSET(limit),        
AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0.0625,    1, AF },
-    { "attack",    "set attack",       OFFSET(attack),       
AV_OPT_TYPE_DOUBLE, {.dbl=5},    0.1,   80, AF },
+    { "attack",    "set attack",       OFFSET(attack),       
AV_OPT_TYPE_DOUBLE, {.dbl=5},    0.1,   80, A  },
     { "release",   "set release",      OFFSET(release),      
AV_OPT_TYPE_DOUBLE, {.dbl=50},     1, 8000, AF },
     { "asc",       "enable asc",       OFFSET(auto_release), AV_OPT_TYPE_BOOL, 
  {.i64=0},      0,    1, AF },
     { "asc_level", "set asc level",    OFFSET(asc_coeff),    
AV_OPT_TYPE_DOUBLE, {.dbl=0.5},    0,    1, AF },

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to