diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/mpeg.c | 9 |
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; | |||
310 | extern unsigned long mas_version_code; | 310 | extern unsigned long mas_version_code; |
311 | 311 | ||
312 | static struct event_queue mpeg_queue; | 312 | static struct event_queue mpeg_queue; |
313 | static char mpeg_stack[DEFAULT_STACK_SIZE + 0x1000]; | 313 | static long mpeg_stack[(DEFAULT_STACK_SIZE + 0x1000)/sizeof(long)]; |
314 | static const char mpeg_thread_name[] = "mpeg"; | 314 | static const char mpeg_thread_name[] = "mpeg"; |
315 | 315 | ||
316 | static int mp3buflen; | 316 | static 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 | ||