From cf86d25882b648510a235a5cbc9615259716546e Mon Sep 17 00:00:00 2001
From: Jean-Marc Valin <jmvalin@jmvalin.ca>
Date: Thu, 1 Jun 2017 17:56:31 -0400
Subject: [PATCH] fix comments

---
 src/analysis.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/analysis.c b/src/analysis.c
index 7591baa7b..f0a04dc6d 100644
--- a/src/analysis.c
+++ b/src/analysis.c
@@ -581,10 +581,10 @@ static void tonality_analysis(TonalityAnalysisState *tonal, const CELTMode *celt
     celt_assert(NB_TBANDS+1 <= LEAK_BANDS);
     for (b=0;b<NB_TBANDS+1;b++)
     {
-       /* leak_boost[] is made up of two terms. The first, based on leakage_high[],
+       /* leak_boost[] is made up of two terms. The first, based on leakage_to[],
           represents the boost needed to overcome the amount of analysis leakage
-          cause in a weaker band b by louder neighroubing bands.
-          The second, based on leakage_low[], applies to a loud band b for
+          cause in a weaker band b by louder neighbouring bands.
+          The second, based on leakage_from[], applies to a loud band b for
           which the quantization noise causes synthesis leakage to the weaker
           neighbouring bands. */
        float boost = MAX16(0, leakage_to[b] - band_log2[b]) +
-- 
GitLab