fix for no current packet in PacketList

This commit is contained in:
Stephen Birarda 2015-07-15 13:41:28 -07:00
parent 312780a2f6
commit d4680ee1dd

View file

@ -22,7 +22,7 @@ PacketList::PacketList(PacketType::Value packetType) :
}
void PacketList::startSegment() {
_segmentStartIndex = _currentPacket->pos();
_segmentStartIndex = _currentPacket ? _currentPacket->pos() : 0;
}
void PacketList::endSegment() {