Skip to content
Snippets Groups Projects
Commit 1ee6b48c authored by Koen Vos's avatar Koen Vos Committed by Jean-Marc Valin
Browse files

Fixes PLC initialization bug

parent 2f3ae499
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ void silk_PLC_Reset(
silk_decoder_state *psDec /* I/O Decoder state */
)
{
psDec->sPLC.pitchL_Q8 = silk_RSHIFT( psDec->frame_length, 1 );
psDec->sPLC.pitchL_Q8 = silk_LSHIFT( psDec->frame_length, 8 - 1 );
psDec->sPLC.prevGain_Q16[ 0 ] = SILK_FIX_CONST( 1, 16 );
psDec->sPLC.prevGain_Q16[ 1 ] = SILK_FIX_CONST( 1, 16 );
}
......
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