diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2011-11-29 07:48:01 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2011-11-29 07:48:01 +0400 |
commit | e1be1920bac28c897a940be55319abbb1bed0f51 (patch) | |
tree | fffabb705ef56dcc80f9ca95b3b3f90648eedd2a /silk/float | |
parent | e699c1989c88fcff8c4bcf0f073966094be2d2cc (diff) |
Some minor (non-bitstream-affecting) changes to help us have better test vectors
These fix corner cases discovered during the latest fuzzing tests.
Diffstat (limited to 'silk/float')
-rw-r--r-- | silk/float/encode_frame_FLP.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/silk/float/encode_frame_FLP.c b/silk/float/encode_frame_FLP.c index ccf5d0ad..faae848c 100644 --- a/silk/float/encode_frame_FLP.c +++ b/silk/float/encode_frame_FLP.c @@ -52,9 +52,6 @@ void silk_encode_do_VAD_FLP( /**************************************************/ /* Convert speech activity into VAD and DTX flags */ /**************************************************/ - if( psEnc->sCmn.nFramesEncoded == 0 ) { - psEnc->sCmn.inDTX = psEnc->sCmn.useDTX; - } if( psEnc->sCmn.speech_activity_Q8 < SILK_FIX_CONST( SPEECH_ACTIVITY_DTX_THRES, 8 ) ) { psEnc->sCmn.indices.signalType = TYPE_NO_VOICE_ACTIVITY; psEnc->sCmn.noSpeechCounter++; |