diff options
Diffstat (limited to 'apps/codecs/sid.c')
-rw-r--r-- | apps/codecs/sid.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/codecs/sid.c b/apps/codecs/sid.c index 455bdbc28a..52c1289fff 100644 --- a/apps/codecs/sid.c +++ b/apps/codecs/sid.c | |||
@@ -1220,8 +1220,8 @@ next_track: | |||
1220 | return CODEC_ERROR; | 1220 | return CODEC_ERROR; |
1221 | } | 1221 | } |
1222 | 1222 | ||
1223 | while (!*ci->taginfo_ready && !ci->stop_codec) | 1223 | if (codec_wait_taginfo() != 0) |
1224 | ci->sleep(1); | 1224 | goto request_next_track; |
1225 | 1225 | ||
1226 | codec_set_replaygain(ci->id3); | 1226 | codec_set_replaygain(ci->id3); |
1227 | 1227 | ||
@@ -1306,6 +1306,7 @@ next_track: | |||
1306 | ci->pcmbuf_insert(samples, NULL, CHUNK_SIZE); | 1306 | ci->pcmbuf_insert(samples, NULL, CHUNK_SIZE); |
1307 | } | 1307 | } |
1308 | 1308 | ||
1309 | request_next_track: | ||
1309 | if (ci->request_next_track()) | 1310 | if (ci->request_next_track()) |
1310 | goto next_track; | 1311 | goto next_track; |
1311 | 1312 | ||