diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c index bf22c7b6be..8b6d1e20bd 100644 --- a/apps/plugins/mpegplayer/mpegplayer.c +++ b/apps/plugins/mpegplayer/mpegplayer.c @@ -1484,11 +1484,14 @@ audio_thread_quit: /* End of libmad stuff */ -/* The audio stack is stolen from the core codec thread */ +/* The audio stack is stolen from the core codec thread (but not in uisim) */ #define AUDIO_STACKSIZE (9*1024) -static uint32_t codec_stack_copy[AUDIO_STACKSIZE / sizeof(uint32_t)]; uint32_t* audio_stack; +#ifndef SIMULATOR +static uint32_t codec_stack_copy[AUDIO_STACKSIZE / sizeof(uint32_t)]; +#endif + /* TODO: Check if 4KB is appropriate - it works for my test streams, so maybe we can reduce it. */ #define VIDEO_STACKSIZE (4*1024)