shithub: opus

Download patch

ref: 63fbca4f2e9cd0868c09cb6f9b5bfcde60db4653
parent: 389b752ac84c89bc11dd17f811b2b717266fc71a
author: Tristan Matthews <tmatth@videolan.org>
date: Fri Nov 8 06:32:56 EST 2024

src: fix spelling

Signed-off-by: Jean-Marc Valin <jeanmarcv@google.com>

--- a/src/analysis.h
+++ b/src/analysis.h
@@ -88,7 +88,7 @@
  */
 void tonality_analysis_init(TonalityAnalysisState *analysis, opus_int32 Fs);
 
-/** Reset a TonalityAnalysisState stuct.
+/** Reset a TonalityAnalysisState struct.
  *
  * Call this when there's a discontinuity in the data.
  */
--- a/src/extensions.c
+++ b/src/extensions.c
@@ -629,7 +629,7 @@
    }
    celt_assert(written == nb_extensions);
    /* If we need to pad, just prepend 0x01 bytes. Even better would be to fill the
-      end with zeros, but that requires checking that turning the last extesion into
+      end with zeros, but that requires checking that turning the last extension into
       an L=1 case still fits. */
    if (pad && pos < len)
    {
--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -1053,7 +1053,7 @@
 /* Decides if DTX should be turned on (=1) or off (=0) */
 static int decide_dtx_mode(opus_int activity,            /* indicates if this frame contains speech/music */
                            int *nb_no_activity_ms_Q1,    /* number of consecutive milliseconds with no activity, in Q1 */
-                           int frame_size_ms_Q1          /* number of miliseconds in this update, in Q1 */
+                           int frame_size_ms_Q1          /* number of milliseconds in this update, in Q1 */
                            )
 
 {
--