summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpegplayer.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-10-18 10:38:55 +0000
committerDave Chapman <dave@dchapman.com>2007-10-18 10:38:55 +0000
commit25ff55885416dbae089e35c162ac6e51756e57cd (patch)
tree004c2736776e6a24900970e288808c8ce67ae5b9 /apps/plugins/mpegplayer/mpegplayer.c
parent9a1a2fd686cd78e71ab90b8695e1e8038b5d00ed (diff)
downloadrockbox-25ff55885416dbae089e35c162ac6e51756e57cd.zip
rockbox-25ff55885416dbae089e35c162ac6e51756e57cd.tar.gz
rockbox-25ff55885416dbae089e35c162ac6e51756e57cd.tar.bz2
rockbox-25ff55885416dbae089e35c162ac6e51756e57cd.tar.xz
Fix a warning in the sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15185 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/mpegplayer.c')
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c
index bf22c7b..8b6d1e2 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)