summaryrefslogtreecommitdiff
path: root/apps/codecs/wavpack.c
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-07-10 20:37:36 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-07-10 20:37:36 +0000
commit0d63cbba4b29c051a87986f7240dabc9f14cb49b (patch)
tree06ff19fe707ce4e1a5bf3f57b6dcd271c950993f /apps/codecs/wavpack.c
parent1ed292ca5e61b90ac00775900aa12b22489050c4 (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/wavpack.c')
-rw-r--r--apps/codecs/wavpack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/wavpack.c b/apps/codecs/wavpack.c
index 39b8514fe5..372fe20508 100644
--- a/apps/codecs/wavpack.c
+++ b/apps/codecs/wavpack.c
@@ -74,7 +74,7 @@ enum codec_status codec_start(struct codec_api* api)
if (codec_init(api))
return CODEC_ERROR;
- while (!rb->taginfo_ready)
+ while (!*rb->taginfo_ready && !ci->stop_codec)
ci->yield();
if (ci->id3->frequency != NATIVE_FREQUENCY) {