13
0

fix crash in Playlist::relayer() when there are no regions

This commit is contained in:
Paul Davis 2021-12-05 10:36:26 -07:00
parent 17832e9f86
commit 96b21c4824

View File

@ -2504,6 +2504,11 @@ Playlist::relayer ()
return;
}
if (regions.empty()) {
/* nothing to do */
return;
}
/* Build up a new list of regions on each layer, stored in a set of lists
* each of which represent some period of time on some layer. The idea
* is to avoid having to search the entire region list to establish whether