bit of the next track at the end of one, but only sometimes. The
hundredths of a second vs. sector was certainly a bug, but was not
this bug.
(get_decode_args): Use sprintf %02d for each field. Previously i
was just stringing them together with colon and dot, so "9" becomes
"9" instead of "09", which flac sees as 90!
use Pod::Usage;
sub tformat {
use Pod::Usage;
sub tformat {
- my $min = shift;
- my $sec = shift;
- my $hun = shift;
- return "$min:$sec.$hun";
+ return sprintf('%02d:%02d.%02d', @_);