projects
/
abcde.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cue2discid: Fix possibly undefined variables
[abcde.git]
/
examples
/
cue2discid
diff --git
a/examples/cue2discid
b/examples/cue2discid
index
754e5f1
..
81121dc
100755
(executable)
--- a/
examples/cue2discid
+++ b/
examples/cue2discid
@@
-16,7
+16,8
@@
startTrackRegex = re.compile(r'INDEX 01 (?P<min>\d+):(?P<sec>\d\d):(?P<frame>\d\
leadInRegex = re.compile(r'REM FLAC__lead-in (?P<sample>\d+)')
leadOutRegex = re.compile(r'REM FLAC__lead-out 170 (?P<sample>\d+)')
raw_framelist = list()
-
+leadInFrame = 0
+leadOutFrame_raw = 0
numTracks = 0
def cddb_sum(trackseconds):