diskreader: fix decrement of start before zero (#8647)
This commit is contained in:
@@ -1019,6 +1019,7 @@ DiskReader::audio_read (Sample* sum_buffer,
|
||||
|
||||
if (reversed) {
|
||||
start -= cnt;
|
||||
start = max (samplepos_t (0), start);
|
||||
}
|
||||
|
||||
/* We need this while loop in case we hit a loop boundary, in which case our read from
|
||||
|
||||
Reference in New Issue
Block a user