mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
avfilter/avf_showcwt: remove not needed fabsf()
This commit is contained in:
parent
7d6dd90f3a
commit
8c67e13473
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user