Robustified RTMP thisPacket handling

This commit is contained in:
Thulinma 2016-11-17 13:53:17 +01:00
parent ee4e0461b4
commit bdb1578ba6

View file

@ -131,7 +131,7 @@ namespace Mist {
// erase & // erase &
pos = nextpos + 1; pos = nextpos + 1;
} }
if (trackSwitch){ if (trackSwitch && thisPacket){
seek(thisPacket.getTime()); seek(thisPacket.getTime());
} }
} }