aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-12-24 15:22:44 +0100
committerPaul B Mahol <onemda@gmail.com>2018-12-24 15:24:20 +0100
commit3bc711a2675a41b4932a7d10341fce906c749fc1 (patch)
tree697a898db85ccb7bc8ec93d80249c8d7fcc6a79f
parent84d1adb118a7ee69b99a73a8d9f856f23d8f6a06 (diff)
downloadffmpeg-3bc711a2675a41b4932a7d10341fce906c749fc1.tar.gz
avfilter/af_headphone: do not reduce LFE gain too much
-rw-r--r--libavfilter/af_headphone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_headphone.c b/libavfilter/af_headphone.c
index a05ebc0a99..51b5921c1c 100644
--- a/libavfilter/af_headphone.c
+++ b/libavfilter/af_headphone.c
@@ -795,7 +795,7 @@ static int config_output(AVFilterLink *outlink)
}
}
- s->gain_lfe = expf((s->gain - 3 * inlink->channels - 6 + s->lfe_gain) / 20 * M_LN10);
+ s->gain_lfe = expf((s->gain - 3 * inlink->channels + s->lfe_gain) / 20 * M_LN10);
return 0;
}