]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/af_stereotools.c
avfilter/avf_showcqt: rewrite showcqt and add features
[ffmpeg] / libavfilter / af_stereotools.c
index e19ada47d0630b8fe2fb617e9a655ab976a92c6c..a22efb02eae7e010da49317591e86f01f081372f 100644 (file)
@@ -146,7 +146,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
     double *buffer = s->buffer;
     AVFrame *out;
     double *dst;
-    int nbuf = inlink->sample_rate * (FFABS(delay) / 1000.);
+    int nbuf = inlink->sample_rate * (fabs(delay) / 1000.);
     int n;
 
     nbuf -= nbuf % 2;