CUE: Stop on the correct sample
Stop before the end, rather than on it. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
37fc054739
commit
440ba24c57
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ static void *kCueSheetDecoderContext = &kCueSheetDecoderContext;
|
|||
|
||||
int frames = INT_MAX;
|
||||
|
||||
if(!noFragment && framePosition + frames > trackEnd) {
|
||||
if(!noFragment && framePosition + frames >= trackEnd) {
|
||||
frames = (UInt32)(trackEnd - framePosition);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue