pkgsrc/sysutils/cdrdao/patches/patch-ak
fredb c3e9ede746 Fix another uninitialized return value. This one was negating the assurance
that the length could be omitted from the last track of an AUDIO CD.  The
length fixer-upper would quit consistently on certain (innocent) TOC files,
which lead to an error about zero-length tracks. Bump PKGREVISION.
2005-09-26 01:01:46 +00:00

20 lines
441 B
Text

$NetBSD: patch-ak,v 1.2 2005/09/26 01:01:46 fredb Exp $
--- trackdb/Track.cc.orig 2005-05-09 10:39:47.000000000 -0500
+++ trackdb/Track.cc
@@ -411,6 +411,7 @@ bool Track::recomputeLength()
}
update();
+ return true;
}
// Sets ISRC code. Expected string: "CCOOOYYSSSSS"
@@ -596,6 +597,7 @@ bool Track::resolveFilename(const char*
}
}
}
+ return true;
}
// Locates 'SubTrack' that contains specified sample.