Please try the following patch:

diff --git a/CuesheetTrack.cc b/CuesheetTrack.cc
index 71e0d20..6a48c0f 100644
--- a/CuesheetTrack.cc
+++ b/CuesheetTrack.cc
@@ -75,8 +75,8 @@ std::string CuesheetTrackIndex(FLAC__uint64 _offset)
        char sep = ':';
        std::stringstream os;
        int frames = _offset % 75;
-       int _secs = (_offset - frames) / 75;
-       int secs = _secs % 60 - 2;
+       int _secs = ((_offset - frames) / 75) - 2;
+       int secs = _secs % 60;
        int mins = (_secs - secs) / 60;
        os << doubleDigit(mins) << sep << doubleDigit(secs)
            << sep << doubleDigit(frames);

Let me know if this fixes it, and I'll include it in a future release.

Thanks

Andy



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to