Fix leadin/leadout computation for cue files broken bug
authorColin Tuckley <colin@tuckley.org>
Sat, 29 May 2010 08:48:54 +0000 (08:48 +0000)
committerColin Tuckley <colin@tuckley.org>
Sat, 29 May 2010 08:48:54 +0000 (08:48 +0000)
    Patch from Martin Michlmayr (Closes: #582175).

abcde
changelog
debian/changelog

diff --git a/abcde b/abcde
index 1401974..4f36556 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -13,7 +13,7 @@
 #
 # $Id$
 
-VERSION='2.4.1'
+VERSION='2.4.2'
 
 usage ()
 {
@@ -1754,8 +1754,8 @@ do_discid ()
                                                                #OFFSETS[${#OFFSETS[*]}]=$(( 10#${OFFSETTIME:0:2} * 4500 + 10#${OFFSETTIME:3:2} * 75 + 10#${OFFSETTIME:6:2} ))
                                                        done
 
-                                                       LEADOUT=$(( $(echo "$CUESHEET" | grep lead-out | get_last) / 44100 * 75 ))
-                                                       LEADIN=$(( $(echo "$CUESHEET" | grep lead-in | get_last) / 44100 * 75 ))
+                                                       LEADOUT=$(( $(echo "$CUESHEET" | grep lead-out | get_last) * 75 / 44100 ))
+                                                       LEADIN=$(( $(echo "$CUESHEET" | grep lead-in | get_last) * 75 / 44100 ))
                                                        makeids
                                                ;;
                                                *)
index b876201..a65fdee 100644 (file)
--- a/changelog
+++ b/changelog
@@ -5,8 +5,10 @@ abcde 2.4.2
     patch from Chris Chiappa (Closes: #459928).
   * Whitespace cleanup, replace single perl instance with sed 
     (Charles Steinkuehler)
+  * Fix leadin/leadout computation for cue files broken bug
+    Patch from Martin Michlmayr (Closes: #582175).
 
- -- Colin Tuckley <colint@debian.org>  Sat, 27 Feb 2010 11:21:37 +0000
+ -- Colin Tuckley <colint@debian.org>  Sat, 29 May 2010 09:43:01 +0100
 
 abcde 2.4.1
 
index d7070c3..009ab87 100644 (file)
@@ -4,8 +4,10 @@ abcde (2.4.2-1) unstable; urgency=low
   * Update standards version to 3.8.4 (no changes required).
   * Fix Cue file always references "dummy.wav" bug
     patch from Chris Chiappa (Closes: #459928).
+  * Fix leadin/leadout computation for cue files broken bug
+    Patch from Martin Michlmayr (Closes: #582175).
 
- -- Colin Tuckley <colint@debian.org>  Sat, 13 Mar 2010 10:10:43 +0000
+ -- Colin Tuckley <colint@debian.org>  Sat, 29 May 2010 09:43:54 +0100
 
 abcde (2.4.1-1) unstable; urgency=low