Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
flac
Commits
b63b3676
Commit
b63b3676
authored
Dec 13, 2002
by
Josh Coalson
Browse files
fix bug with uninitialized vars in parser
parent
3644a56b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/share/grabbag/cuesheet.c
View file @
b63b3676
...
...
@@ -183,7 +183,7 @@ static FLAC__bool local__cuesheet_parse_(FILE *file, const char **error_message,
unsigned
linelen
,
forced_leadout_track_num
=
0
;
FLAC__uint64
forced_leadout_track_offset
=
0
;
int
in_track_num
=
-
1
,
in_index_num
=
-
1
;
FLAC__bool
disc_has_catalog
=
false
,
track_has_flags
,
track_has_isrc
,
has_forced_leadout
=
false
;
FLAC__bool
disc_has_catalog
=
false
,
track_has_flags
=
false
,
track_has_isrc
=
false
,
has_forced_leadout
=
false
;
FLAC__StreamMetadata_CueSheet
*
cs
=
&
cuesheet
->
data
.
cue_sheet
;
cs
->
lead_in
=
is_cdda
?
2
*
44100
/* The default lead-in size for CD-DA */
:
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment