summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libopus/silk/init_decoder.c
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2019-01-04 02:01:18 -0600
committerSolomon Peachy <pizza@shaftnet.org>2021-04-23 14:23:04 +0000
commit14c6bb798d6bebc80f07e863236adbaf8d156a9c (patch)
tree551a4b641906c2626af844fa3239c1b2b1ff0ad3 /lib/rbcodec/codecs/libopus/silk/init_decoder.c
parent75d93937965ec4df70d37df6d4feea04577c996b (diff)
downloadrockbox-14c6bb798d6bebc80f07e863236adbaf8d156a9c.tar.gz
rockbox-14c6bb798d6bebc80f07e863236adbaf8d156a9c.zip
Sync opus codec to upstream git
Change-Id: I0cfcc0005c4ad7bfbb1aaf454188ce70fb043dc1
Diffstat (limited to 'lib/rbcodec/codecs/libopus/silk/init_decoder.c')
-rw-r--r--lib/rbcodec/codecs/libopus/silk/init_decoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/libopus/silk/init_decoder.c b/lib/rbcodec/codecs/libopus/silk/init_decoder.c
index f887c67886..16c03dcd1c 100644
--- a/lib/rbcodec/codecs/libopus/silk/init_decoder.c
+++ b/lib/rbcodec/codecs/libopus/silk/init_decoder.c
@@ -44,6 +44,7 @@ opus_int silk_init_decoder(
44 /* Used to deactivate LSF interpolation */ 44 /* Used to deactivate LSF interpolation */
45 psDec->first_frame_after_reset = 1; 45 psDec->first_frame_after_reset = 1;
46 psDec->prev_gain_Q16 = 65536; 46 psDec->prev_gain_Q16 = 65536;
47 psDec->arch = opus_select_arch();
47 48
48 /* Reset CNG state */ 49 /* Reset CNG state */
49 silk_CNG_Reset( psDec ); 50 silk_CNG_Reset( psDec );