Subject: CVS commit: src/usr.bin/cdplay
To: None <source-changes@NetBSD.org>
From: Chuck Cranor <chuck@netbsd.org>
List: source-changes
Date: 12/14/2006 18:15:17
Module Name: src
Committed By: chuck
Date: Thu Dec 14 18:15:17 UTC 2006
Modified Files:
src/usr.bin/cdplay: cdplay.c
Log Message:
take into account the 150 frame start offset time when computing the
duration of a track. call lba2msf like this:
lba2msf(len - 150, &m, &s, &f);
^^^^^
from rev 1.41 of FreeBSD usr.sbin/cdcontrol/cdcontrol.c, Dmitry Afanasiev.
XXX: note that this is a mis-use of lba2msf() because 'len' is the length
of the track in frames, not a logical block address (lba).
To generate a diff of this commit:
cvs rdiff -r1.34 -r1.35 src/usr.bin/cdplay/cdplay.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.