From 7676271bf501753a6ef35f6662476c0d245f8756 Mon Sep 17 00:00:00 2001 From: Uwe Klotz <uwe.klotz@gmail.com> Date: Sat, 28 Sep 2024 00:41:02 +0200 Subject: [PATCH] Fix replay gain analysis --- src/analyzer/analyzerebur128.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/analyzer/analyzerebur128.cpp b/src/analyzer/analyzerebur128.cpp index 40d1ac00ab8..01572cf7f26 100644 --- a/src/analyzer/analyzerebur128.cpp +++ b/src/analyzer/analyzerebur128.cpp @@ -72,8 +72,8 @@ void AnalyzerEbur128::storeResults(TrackPointer pTrack) { if (averageLufs == -HUGE_VAL || averageLufs == HUGE_VAL || // This catches 0 and abnormal values inf and -inf (that may have - // slipped through in libebur for some reason. - util_isnormal(averageLufs)) { + // slipped through in libebur128 for some reason. + !util_isnormal(averageLufs)) { qWarning() << "AnalyzerEbur128::storeResults() averageLufs invalid:" << averageLufs; return;