summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/mpeg.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index 4b11eecb5a..694e1cf111 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -310,7 +310,7 @@ static int last_dma_tick = 0;
310extern unsigned long mas_version_code; 310extern unsigned long mas_version_code;
311 311
312static struct event_queue mpeg_queue; 312static struct event_queue mpeg_queue;
313static char mpeg_stack[DEFAULT_STACK_SIZE + 0x1000]; 313static long mpeg_stack[(DEFAULT_STACK_SIZE + 0x1000)/sizeof(long)];
314static const char mpeg_thread_name[] = "mpeg"; 314static const char mpeg_thread_name[] = "mpeg";
315 315
316static int mp3buflen; 316static int mp3buflen;
@@ -1982,7 +1982,12 @@ static void mpeg_thread(void)
1982 } 1982 }
1983#endif /* #if CONFIG_HWCODEC == MAS3587F */ 1983#endif /* #if CONFIG_HWCODEC == MAS3587F */
1984 } 1984 }
1985#endif /* HWCODEC != NONE */ 1985#else /* HWCODEC != NONE */
1986 while(1)
1987 {
1988 yield();
1989 }
1990#endif
1986} 1991}
1987#endif /* SIMULATOR */ 1992#endif /* SIMULATOR */
1988 1993