From c722a9584da061605a149a31f7fdac83e06128ca Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 18 Oct 2007 10:38:55 +0000 Subject: [PATCH] Fix a warning in the sim git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15185 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/mpegplayer/mpegplayer.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c index bf22c7b6b..8b6d1e20b 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) -- 2.11.4.GIT