mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-10-31 08:39:34 +08:00
修复bug
This commit is contained in:
parent
8779ed42e5
commit
10ef758211
@ -104,10 +104,10 @@ begin_decode:
|
||||
if(remain - playload_slice_len > 0){
|
||||
string nextPacket((char *)ptr + playload_slice_len,remain - playload_slice_len);
|
||||
_got_header = false;
|
||||
_remain_data.clear();
|
||||
_remain_data = nextPacket;
|
||||
|
||||
data = ptr = (uint8_t *)nextPacket.data();
|
||||
len = nextPacket.size();
|
||||
data = ptr = (uint8_t *)_remain_data.data();
|
||||
len = _remain_data.size();
|
||||
goto begin_decode;
|
||||
} else{
|
||||
_got_header = false;
|
||||
|
Loading…
Reference in New Issue
Block a user