diff options
author | Muhammad Faiz <mfcc64@gmail.com> | 2016-10-10 02:27:31 +0700 |
---|---|---|
committer | Muhammad Faiz <mfcc64@gmail.com> | 2016-10-10 02:27:31 +0700 |
commit | 47d2be3056fa43ac936e5e40f0ce83df45d3be36 (patch) | |
tree | 86f52273791c5225f93b83f82dc1dd414cdceb79 | |
parent | 3e5d27d7a7350e096eac9f8999d02bf48c3b3a69 (diff) | |
download | ffmpeg-47d2be3056fa43ac936e5e40f0ce83df45d3be36.tar.gz |
avfilter/firequalizer: fix blackman window calculation
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
-rw-r--r-- | libavfilter/af_firequalizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_firequalizer.c b/libavfilter/af_firequalizer.c index 6a9c64187e..72a7ff42c1 100644 --- a/libavfilter/af_firequalizer.c +++ b/libavfilter/af_firequalizer.c @@ -369,7 +369,7 @@ static int generate_kernel(AVFilterContext *ctx, const char *gain, const char *g win = 0.53836 + 0.46164 * cos(u); break; case WFUNC_BLACKMAN: - win = 0.48 + 0.5 * cos(u) + 0.02 * cos(2*u); + win = 0.42 + 0.5 * cos(u) + 0.08 * cos(2*u); break; case WFUNC_NUTTALL3: win = 0.40897 + 0.5 * cos(u) + 0.09103 * cos(2*u); |