From cd605cffa35cff0c59026e5796aa9488ce590aea Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Thu, 30 Nov 2006 19:42:41 +0000 Subject: Prevent a stack overflow on iPod 5.5G due to increased sector size. Full patch coming at weekend. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11629 a1c6a512-1295-4272-9138-f99709370657 --- apps/playlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/playlist.c b/apps/playlist.c index 4a3c37d..2469c0f 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -194,7 +194,7 @@ static int rotate_index(const struct playlist_info* playlist, int index); #define PLAYLIST_LOAD_POINTERS 1 static struct event_queue playlist_queue; -static long playlist_stack[(DEFAULT_STACK_SIZE + 0x400)/sizeof(long)]; +static long playlist_stack[(DEFAULT_STACK_SIZE + 0x800)/sizeof(long)]; static const char playlist_thread_name[] = "playlist cachectrl"; #endif @@ -1169,7 +1169,7 @@ static void playlist_thread(void) flush_cached_control(playlist); mutex_unlock(&playlist->control_mutex); } - + sync_control(playlist, true); } -- cgit v1.1