[FFmpeg-cvslog] avfilter/af_headphone: do not reduce LFE gain too much

Paul B Mahol git at videolan.org
Mon Dec 24 16:28:52 EET 2018


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Dec 24 15:22:44 2018 +0100| [3bc711a2675a41b4932a7d10341fce906c749fc1] | committer: Paul B Mahol

avfilter/af_headphone: do not reduce LFE gain too much

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

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

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;
 }



More information about the ffmpeg-cvslog mailing list