mirror of https://git.ffmpeg.org/ffmpeg.git
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…
Reference in New Issue