diff options
author | Koen Vos <koen.vos@skype.net> | 2011-10-29 00:03:29 -0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2011-10-29 00:03:29 -0400 |
commit | 1ee6b48c60a2ce31bfbf35573fe77d97c3e55b00 (patch) | |
tree | 5b639915e645bdfd8cd932f50071720ce1fa6d06 /silk/PLC.c | |
parent | 2f3ae499ff0bec02a12fe6369328948c72f403c4 (diff) | |
download | opus-1ee6b48c60a2ce31bfbf35573fe77d97c3e55b00.tar.gz |
Fixes PLC initialization bug
Diffstat (limited to 'silk/PLC.c')
-rw-r--r-- | silk/PLC.c | 2 |
1 files changed, 1 insertions, 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 ); } |