Do not add a start offset time to the track duration time.

Submitted by:	Dmitry Afanasiev, <KOT@MATPOCKuH.SPb.Ru>
MFC after:	2 weeks
This commit is contained in:
maxim 2002-09-23 15:00:23 +00:00
parent 15867e80d1
commit 236b22fa5b

View File

@ -1015,7 +1015,8 @@ void prtrack (struct cd_toc_entry *e, int lastflag)
else
next = ntohl(e[1].addr.lba);
len = next - block;
lba2msf (len, &m, &s, &f);
/* Take into account a start offset time. */
lba2msf (len - 150, &m, &s, &f);
/* Print duration, block, length, type */
printf ("%2d:%02d.%02d %6d %6d %5s\n", m, s, f, block, len,