APL+CUE: Revert pointless change
This change served no purpose, other than to confuse me. I must need some sleep already. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
cc0f55e3c4
commit
a81f3f05d9
2 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@
|
|||
- (AudioChunk *)readAudio {
|
||||
int maxFrames = INT_MAX;
|
||||
|
||||
if(framePosition + maxFrames >= trackEnd)
|
||||
if(framePosition + maxFrames > trackEnd)
|
||||
maxFrames = (int)(trackEnd - framePosition);
|
||||
|
||||
if(!maxFrames) {
|
||||
|
|
|
@ -343,7 +343,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