changeset 20579:ff7b00afaa20

Remove useless code
author reimar
date Wed, 01 Nov 2006 19:02:01 +0000
parents 235b6df49b0d
children b129981eee49
files stream/stream_cddb.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_cddb.c	Wed Nov 01 18:54:10 2006 +0000
+++ b/stream/stream_cddb.c	Wed Nov 01 19:02:01 2006 +0000
@@ -116,14 +116,12 @@
         }
 
         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];