Made DTSC seeking functions more robust.
This commit is contained in:
parent
8fde3f5851
commit
60929d5014
2 changed files with 18 additions and 5 deletions
|
@ -65,7 +65,11 @@ namespace DTSC {
|
|||
if (master && !rhs.master){
|
||||
null();
|
||||
}
|
||||
reInit(rhs.data, rhs.dataLen, !rhs.master);
|
||||
if (rhs){
|
||||
reInit(rhs.data, rhs.dataLen, !rhs.master);
|
||||
}else{
|
||||
null();
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns true if the packet is deemed valid, false otherwise.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue