[FFmpeg-cvslog] avfilter/af_anlms: increase max limit for mu

Paul B Mahol git at videolan.org
Wed Oct 9 19:30:10 EEST 2019


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Oct  9 18:13:55 2019 +0200| [3d262f9f326f9131e68164f1edfcb5d8273926f6] | committer: Paul B Mahol

avfilter/af_anlms: increase max limit for mu

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

 libavfilter/af_anlms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/af_anlms.c b/libavfilter/af_anlms.c
index 75bd969a83..350bedaf7a 100644
--- a/libavfilter/af_anlms.c
+++ b/libavfilter/af_anlms.c
@@ -63,7 +63,7 @@ typedef struct AudioNLMSContext {
 
 static const AVOption anlms_options[] = {
     { "order",   "set the filter order",   OFFSET(order),   AV_OPT_TYPE_INT,   {.i64=256},  1, INT16_MAX, A },
-    { "mu",      "set the filter mu",      OFFSET(mu),      AV_OPT_TYPE_FLOAT, {.dbl=0.75}, 0, 1, A },
+    { "mu",      "set the filter mu",      OFFSET(mu),      AV_OPT_TYPE_FLOAT, {.dbl=0.75}, 0, 2, A },
     { "eps",     "set the filter eps",     OFFSET(eps),     AV_OPT_TYPE_FLOAT, {.dbl=1},    0, 1, A },
     { "leakage", "set the filter leakage", OFFSET(leakage), AV_OPT_TYPE_FLOAT, {.dbl=0},    0, 1, A },
     { "out_mode", "set output mode",       OFFSET(output_mode), AV_OPT_TYPE_INT, {.i64=OUT_MODE}, 0, NB_OMODES-1, A, "mode" },



More information about the ffmpeg-cvslog mailing list