summaryrefslogtreecommitdiff
path: root/silk/dec_API.c
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2014-01-06 21:59:48 -0500
committerJean-Marc Valin <jmvalin@jmvalin.ca>2014-01-06 21:59:48 -0500
commitdce69d2b9b4f33ecb482023f0fe1230ef5b53235 (patch)
treecbe39b13272b5bc14e1cd25c4001a60cdf7463ee /silk/dec_API.c
parentad8371d172e930c28bc66da165bf8498c5d16d15 (diff)
downloadopus-dce69d2b9b4f33ecb482023f0fe1230ef5b53235.tar.gz
Store decoded SILK pulses as 16-bit vector
This saves 640 bytes on the peak stack usage.
Diffstat (limited to 'silk/dec_API.c')
-rw-r--r--silk/dec_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/dec_API.c b/silk/dec_API.c
index 4cbcf715..660f93db 100644
--- a/silk/dec_API.c
+++ b/silk/dec_API.c
@@ -196,7 +196,7 @@ opus_int silk_Decode( /* O Returns error co
for( i = 0; i < channel_state[ 0 ].nFramesPerPacket; i++ ) {
for( n = 0; n < decControl->nChannelsInternal; n++ ) {
if( channel_state[ n ].LBRR_flags[ i ] ) {
- opus_int pulses[ MAX_FRAME_LENGTH ];
+ opus_int16 pulses[ MAX_FRAME_LENGTH ];
opus_int condCoding;
if( decControl->nChannelsInternal == 2 && n == 0 ) {