avfilter/avf_showcwt: remove not needed fabsf()

This commit is contained in:
Paul B Mahol 2023-07-28 22:26:57 +02:00
parent 7d6dd90f3a
commit 8c67e13473
1 changed files with 1 additions and 1 deletions

View File

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