summaryrefslogtreecommitdiffstats
path: root/stream/stream_cddb.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_cddb.c')
-rw-r--r--stream/stream_cddb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/stream/stream_cddb.c b/stream/stream_cddb.c
index 2bc127029e..949b936cac 100644
--- a/stream/stream_cddb.c
+++ b/stream/stream_cddb.c
@@ -116,14 +116,12 @@ read_toc(const char *dev) {
}
for (i = toc.FirstTrack; i <= toc.LastTrack; i++) {
- toc.FirstTrack = i;
cdtoc[i-1].min = toc.TrackData[i - 1].Address[1];
cdtoc[i-1].sec = toc.TrackData[i - 1].Address[2];
cdtoc[i-1].frame = toc.TrackData[i - 1].Address[3];
cdtoc[i-1].frame += cdtoc[i-1].min*60*75;
cdtoc[i-1].frame += cdtoc[i-1].sec*75;
}
- toc.FirstTrack = 0xAA;
cdtoc[toc.LastTrack].min = toc.TrackData[toc.LastTrack].Address[1];
cdtoc[toc.LastTrack].sec = toc.TrackData[toc.LastTrack].Address[2];
cdtoc[toc.LastTrack].frame = toc.TrackData[toc.LastTrack].Address[3];