diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2014-01-07 06:59:48 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2014-01-07 06:59:48 +0400 |
commit | dce69d2b9b4f33ecb482023f0fe1230ef5b53235 (patch) | |
tree | cbe39b13272b5bc14e1cd25c4001a60cdf7463ee /silk/dec_API.c | |
parent | ad8371d172e930c28bc66da165bf8498c5d16d15 (diff) |
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.c | 2 |
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 ) { |