Sanity check for TempoMap::get_grid ()
This commit is contained in:
parent
921024b79f
commit
dd7c0cca6c
@ -3474,7 +3474,7 @@ TempoMap::get_grid (vector<TempoMap::BBTPoint>& points,
|
||||
return;
|
||||
}
|
||||
|
||||
while (pos < upper) {
|
||||
while (pos >= 0 && pos < upper) {
|
||||
pos = frame_at_beat_locked (_metrics, cnt);
|
||||
const TempoSection tempo = tempo_section_at_frame_locked (_metrics, pos);
|
||||
const MeterSection meter = meter_section_at_frame_locked (_metrics, pos);
|
||||
|
Loading…
Reference in New Issue
Block a user