diff options
author | Gregory Maxwell <greg@xiph.org> | 2011-10-19 08:20:46 +0400 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2011-10-19 08:20:46 +0400 |
commit | 52de536fed9288b6ecd7d9f2672c07b1c78ea3d2 (patch) | |
tree | a67552608f2fd9c158f400de1c6954b2e4257d97 /silk/dec_API.c | |
parent | 9a0568869600a2e00589ce19f0d5c4bd85b633a4 (diff) |
Correct encoder/decoder state mismatch and spurious state resetting in the encoder when side is reset.
Patch from Tim which corrects a glitch during mode switching tests.
Diffstat (limited to 'silk/dec_API.c')
-rw-r--r-- | silk/dec_API.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/silk/dec_API.c b/silk/dec_API.c index d979e5be..a5510771 100644 --- a/silk/dec_API.c +++ b/silk/dec_API.c @@ -233,6 +233,7 @@ opus_int silk_Decode( psDec->channel_state[ 1 ].lagPrev = 100; psDec->channel_state[ 1 ].LastGainIndex = 10; psDec->channel_state[ 1 ].prevSignalType = TYPE_NO_VOICE_ACTIVITY; + psDec->channel_state[ 1 ].first_frame_after_reset = 1; } /* Call decoder for one frame */ |