13
0

playlist partition_internal() uses exclusive end semantics

Do not pass "end-1" to it from Playlist::cut()
This commit is contained in:
Paul Davis 2023-11-03 15:02:18 -06:00
parent b27c804a7c
commit d309ab31e8

View File

@ -1285,7 +1285,7 @@ Playlist::cut (timepos_t const & start, timecnt_t const & cnt)
{
RegionWriteLock rlock (this);
partition_internal (start, (start+cnt).decrement(), true, rlock.thawlist);
partition_internal (start, start+cnt, true, rlock.thawlist);
}
return the_copy;