Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Strogin
flac
Commits
fe1d3113
Commit
fe1d3113
authored
Aug 24, 2005
by
Josh Coalson
Browse files
slightly more precise error message in CDDA cuesheet checking
parent
e7001d6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libFLAC/format.c
View file @
fe1d3113
...
...
@@ -364,7 +364,11 @@ FLAC_API FLAC__bool FLAC__format_cuesheet_is_legal(const FLAC__StreamMetadata_Cu
}
if
(
check_cd_da_subset
&&
cue_sheet
->
tracks
[
i
].
offset
%
588
!=
0
)
{
if
(
violation
)
*
violation
=
"CD-DA cue sheet track offset must be evenly divisible by 588 samples"
;
if
(
violation
)
if
(
i
==
cue_sheet
->
num_tracks
-
1
)
/* the lead-out track... */
*
violation
=
"CD-DA cue sheet lead-out offset must be evenly divisible by 588 samples"
;
else
*
violation
=
"CD-DA cue sheet track offset must be evenly divisible by 588 samples"
;
return
false
;
}
...
...
Write
Preview
Supports
Markdown
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