From 0d63cbba4b29c051a87986f7240dabc9f14cb49b Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Sun, 10 Jul 2005 20:37:36 +0000 Subject: 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 --- apps/codecs/vorbis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/codecs/vorbis.c') diff --git a/apps/codecs/vorbis.c b/apps/codecs/vorbis.c index 946f2f9377..353b90fb0b 100644 --- a/apps/codecs/vorbis.c +++ b/apps/codecs/vorbis.c @@ -137,7 +137,7 @@ enum codec_status codec_start(struct codec_api* api) return CODEC_ERROR; } - while (!rb->taginfo_ready) + while (!*rb->taginfo_ready && !rb->stop_codec) rb->yield(); if (rb->id3->frequency != NATIVE_FREQUENCY) { -- cgit v1.2.3