diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2005-07-10 20:37:36 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2005-07-10 20:37:36 +0000 |
commit | 0d63cbba4b29c051a87986f7240dabc9f14cb49b (patch) | |
tree | 06ff19fe707ce4e1a5bf3f57b6dcd271c950993f /apps/codecs/mpa.c | |
parent | 1ed292ca5e61b90ac00775900aa12b22489050c4 (diff) |
Fixed a problem with transition to next album which caused rockbox
virtually to crash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7096 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/mpa.c')
-rw-r--r-- | apps/codecs/mpa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c index 5d6f7d29ad..126d9b6d67 100644 --- a/apps/codecs/mpa.c +++ b/apps/codecs/mpa.c @@ -110,7 +110,7 @@ enum codec_status codec_start(struct codec_api* api) first_frame = false; file_end = 0; - while (!*ci->taginfo_ready) + while (!*ci->taginfo_ready && !ci->stop_codec) ci->yield(); frequency_divider = ci->id3->frequency / 100; |