mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 18:50:20 +08:00
GB28181: ps解析失败触发断言时,丢弃所有数据
This commit is contained in:
parent
78bcd9e868
commit
84baf920c1
@ -71,7 +71,8 @@ const char *PSDecoder::onSearchPacketTail(const char *data, size_t len) {
|
||||
InfoL << "解析 ps 异常: bytes=" << len
|
||||
<< ", exception=" << ex.what()
|
||||
<< ", hex=" << hexdump(data, MIN(len, 32));
|
||||
return nullptr;
|
||||
//触发断言,解析失败,丢弃所有数据
|
||||
return data + len;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user