summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Giles <giles@thaumas.net>2021-05-11 10:19:53 -0700
committerRalph Giles <giles@thaumas.net>2021-05-12 10:22:43 -0700
commit2985a40afee560dbbbc8dcf63c9eea09b3e2b733 (patch)
tree9cbfcd5a08e2ec191985733a7d39a8e76c16dec9
parent7b05f44f4baadf34d8d1073f4ff69f1806d5cdb4 (diff)
downloadopus-2985a40afee560dbbbc8dcf63c9eea09b3e2b733.tar.gz
Fix trailing whitespace.
This was introduced in February, and fails the corresponding check in gitlab ci runs. Also indent the subsequent lines to match and correct typos. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
-rw-r--r--src/opus_encoder.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/opus_encoder.c b/src/opus_encoder.c
index 321bb2bb..253fe9e8 100644
--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -900,10 +900,10 @@ static int decide_dtx_mode(opus_int activity, /* indicates if this fr
{
if (!activity)
{
- /* The number of consecutive DTX frames should be within the allowed bounds.
- Note that the allowed bound is defined in the Silk headers and assumes 20 ms
- frames. As this function can be called with any frame length, a conversion to
- miliseconds is done before the comparisons. */
+ /* The number of consecutive DTX frames should be within the allowed bounds.
+ Note that the allowed bound is defined in the SILK headers and assumes 20 ms
+ frames. As this function can be called with any frame length, a conversion to
+ milliseconds is done before the comparisons. */
(*nb_no_activity_ms_Q1) += frame_size_ms_Q1;
if (*nb_no_activity_ms_Q1 > NB_SPEECH_FRAMES_BEFORE_DTX*20*2)
{