ref: 2985a40afee560dbbbc8dcf63c9eea09b3e2b733
parent: 7b05f44f4baadf34d8d1073f4ff69f1806d5cdb4
author: Ralph Giles <[email protected]>
date: Tue May 11 06:19:53 EDT 2021
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 <[email protected]>
--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -900,10 +900,10 @@
{
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)
{