You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/avf_showcwt: remove not needed fabsf()
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user