mirror of
https://github.com/xiph/opus.git
synced 2025-05-29 22:57:41 +00:00
Fixes PLC initialization bug
This commit is contained in:
parent
2f3ae499ff
commit
1ee6b48c60
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue