mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
finish utest of protocol stack. 0.9.156
This commit is contained in:
parent
8e27df4cf7
commit
9556790a5e
14 changed files with 730 additions and 45 deletions
|
@ -1294,8 +1294,8 @@ int SrsSource::on_aggregate(SrsMessage* msg)
|
|||
|
||||
if (data_size > 0) {
|
||||
o.size = data_size;
|
||||
o.payload = new int8_t[o.size];
|
||||
stream->read_bytes((char*)o.payload, o.size);
|
||||
o.payload = new char[o.size];
|
||||
stream->read_bytes(o.payload, o.size);
|
||||
}
|
||||
|
||||
if (!stream->require(4)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue