forked from len0rd/rockbox
aac: put two local structs on the stack as they are small and the codec uses little stack anyway ( < 20% on h300)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28872 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a43fc847c4
commit
74cc5c77e3
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ enum codec_status codec_main(void)
|
|||
* the sampling frequency).
|
||||
*/
|
||||
size_t n;
|
||||
static demux_res_t demux_res;
|
||||
demux_res_t demux_res;
|
||||
stream_t input_stream;
|
||||
uint32_t sound_samples_done;
|
||||
uint32_t elapsed_time;
|
||||
|
|
@ -55,7 +55,7 @@ enum codec_status codec_main(void)
|
|||
int needed_bufsize;
|
||||
unsigned int i;
|
||||
unsigned char* buffer;
|
||||
static NeAACDecFrameInfo frame_info;
|
||||
NeAACDecFrameInfo frame_info;
|
||||
NeAACDecHandle decoder;
|
||||
int err;
|
||||
uint32_t s = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue