From 96a6874ac419defb2f24a789c4d16a54d7430080 Mon Sep 17 00:00:00 2001 From: Hardeep Sidhu Date: Sat, 4 Jan 2003 07:16:36 +0000 Subject: [PATCH] Signal track change if no tracks in playlist are valid so wps updates and exits properly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3036 a1c6a512-1295-4272-9138-f99709370657 --- firmware/mpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/mpeg.c b/firmware/mpeg.c index f2a969705b..f1870d5bf0 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c @@ -1296,6 +1296,7 @@ static void mpeg_thread(void) if ( new_file(0) == -1 ) { is_playing = false; + track_change(); break; }