From 3d262f9f326f9131e68164f1edfcb5d8273926f6 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 9 Oct 2019 18:13:55 +0200 Subject: [PATCH] avfilter/af_anlms: increase max limit for mu --- 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" },