Skip to content
Snippets Groups Projects
Commit f898ae10 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fixes a non-bitstream-related PLC integer overflow.

parent ee8adbe7
No related merge requests found
......@@ -108,6 +108,8 @@ opus_int silk_decoder_set_fs(
psDec->lagPrev = 100;
psDec->LastGainIndex = 10;
psDec->prevSignalType = TYPE_NO_VOICE_ACTIVITY;
silk_memset( psDec->outBuf, 0, sizeof(psDec->outBuf));
silk_memset( psDec->sLPC_Q14_buf, 0, sizeof(psDec->sLPC_Q14_buf) );
}
psDec->fs_kHz = fs_kHz;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment