Commit 8c67e134 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/avf_showcwt: remove not needed fabsf()

parent 7d6dd90f
......@@ -654,7 +654,7 @@ static int compute_kernel(AVFilterContext *ctx)
memset(tkernel, 0, size * sizeof(*tkernel));
for (int n = 0; n < size; n++) {
float ff, f = fabsf(n-frequency);
float ff, f = n-frequency;
ff = expf(-f*f*deviation);
tkernel[n] = ff;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment