--- kioslave/audiocd/audiocd.cpp 2003-05-07 21:16:47.000000000 +0930 +++ kioslave/audiocd/audiocd.cpp 2003-09-16 23:32:59.000000000 +0930 @@ -1552,7 +1552,12 @@ processed += d->og.header_len + d->og.body_len; } } - } + if(currentSector == lastSector) { + currentSector++; // ugly way to make sure we don't get back here + // write out "end of stream" + vorbis_analysis_wrote(&d->vd,0); + } + } } #endif