Fixed the newly introduced hang when leaving the recording screen

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4202 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-01-08 11:18:01 +00:00
parent 1afa395c2f
commit cd8847b883

View file

@ -2000,6 +2000,9 @@ static void mpeg_thread(void)
break; break;
case MPEG_INIT_PLAYBACK: case MPEG_INIT_PLAYBACK:
/* Stop the prerecording */
stop_recording();
mp3_play_init(); mp3_play_init();
mpeg_mode = MPEG_DECODER; mpeg_mode = MPEG_DECODER;