]> diplodocus.org Git - flac-archive/commitdiff
(get_decod_args): The third time field is *sectors*, not hundredths of
authorepg <>
Sat, 23 Oct 2004 01:54:15 +0000 (01:54 +0000)
committerepg <>
Sat, 23 Oct 2004 01:54:15 +0000 (01:54 +0000)
a second.  One second is 75 sectors.

flac2mp3

index 73df9b6..3fc6bf4 100755 (executable)
--- a/flac2mp3
+++ b/flac2mp3
@@ -48,10 +48,10 @@ sub get_decode_args {
         if (defined($next)) {
             if ($next->[2] == 0) {
                 if ($next->[1] == 0) {
-                    push(@$arg, '--until=' . tformat($next->[0] - 1, 59, 99));
+                    push(@$arg, '--until=' . tformat($next->[0] - 1, 59, 74));
                 } else {
                     push(@$arg, '--until=' . tformat($next->[0], $next->[1] - 1,
-                                                    99));
+                                                    74));
                 }
             } else {
                 push(@$arg, '--until=' . tformat($next->[0], $next->[1],