fix crash in Playlist::relayer() when there are no regions
This commit is contained in:
parent
17832e9f86
commit
96b21c4824
@ -2504,6 +2504,11 @@ Playlist::relayer ()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (regions.empty()) {
|
||||||
|
/* nothing to do */
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/* Build up a new list of regions on each layer, stored in a set of lists
|
/* 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
|
* 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
|
* is to avoid having to search the entire region list to establish whether
|
||||||
|
Loading…
Reference in New Issue
Block a user