Fixed zero-length sortset causing crash in MP4 output

This commit is contained in:
Thulinma 2021-05-27 16:03:41 +02:00
parent 3c09b085c0
commit 4cce8baf9b

View file

@ -1350,7 +1350,7 @@ namespace Mist{
// The remainder of this function handles non-live situations
if (M.getLive()){
sortSet.erase(sortSet.begin());
if (sortSet.size()){sortSet.erase(sortSet.begin());}
return;
}