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