summaryrefslogtreecommitdiffstats
path: root/stream/stream_cddb.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-01 19:02:01 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-01 19:02:01 +0000
commit78f762c11e9259d7b1217ee03705d45cb00bd7be (patch)
treec7d4bff002906abef209aac10c87218e08ea45b2 /stream/stream_cddb.c
parentf5733d23f07f779d17b79f0584bd0d463cb75909 (diff)
downloadmpv-78f762c11e9259d7b1217ee03705d45cb00bd7be.tar.bz2
mpv-78f762c11e9259d7b1217ee03705d45cb00bd7be.tar.xz
Remove useless code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20595 b3059339-0415-0410-9bf9-f77b7e298cf2
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];