]> diplodocus.org Git - flac-archive/blobdiff - flac2mp3
Ah-hah! I have finally found the bug that caused my mp3s to include a
[flac-archive] / flac2mp3
index 3fc6bf4..abd8984 100755 (executable)
--- a/flac2mp3
+++ b/flac2mp3
@@ -25,10 +25,7 @@ use warnings;
 use Pod::Usage;
 
 sub tformat {
-    my $min = shift;
-    my $sec = shift;
-    my $hun = shift;
-    return "$min:$sec.$hun";
+    return sprintf('%02d:%02d.%02d', @_);
 }
 
 sub get_decode_args {