Skip to content

Commit

Permalink
avfilter/firequalizer: fix blackman window calculation
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Faiz <[email protected]>
  • Loading branch information
mfcc64 committed Oct 9, 2016
1 parent 3e5d27d commit 47d2be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavfilter/af_firequalizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 47d2be3

Please sign in to comment.