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 Konovalov 2002-09-23 15:00:23 +00:00
parent a7042915ba
commit 8d9b45ee32
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103861

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,