]> git.sesse.net Git - kdenlive/commitdiff
Try to fix build error on some systems.
authorTill Theato <root@ttill.de>
Sat, 28 Apr 2012 10:00:13 +0000 (12:00 +0200)
committerTill Theato <root@ttill.de>
Sat, 28 Apr 2012 10:00:13 +0000 (12:00 +0200)
src/lib/audio/audioCorrelation.cpp

index 34cb5bb3ff2389bf34dfe389e6a555c75897eed2..79756d3f56fec3c7f249bdabb7fa38601f77303f 100644 (file)
@@ -140,7 +140,7 @@ void AudioCorrelation::correlate(const int64_t *envMain, int sizeMain,
             left++;
             right++;
         }
-        correlation[sizeSub+shift] = std::abs(sum);
+        correlation[sizeSub+shift] = qAbs(sum);
 
         if (sum > max) {
             max = sum;