Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2011-10-19 08:20:46 +0400
committerGregory Maxwell <greg@xiph.org>2011-10-19 08:20:46 +0400
commit52de536fed9288b6ecd7d9f2672c07b1c78ea3d2 (patch)
treea67552608f2fd9c158f400de1c6954b2e4257d97 /silk/dec_API.c
parent9a0568869600a2e00589ce19f0d5c4bd85b633a4 (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.c1
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 */