1
0
Fork 0
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:
winlin 2014-07-11 18:08:34 +08:00
parent 8e27df4cf7
commit 9556790a5e
14 changed files with 730 additions and 45 deletions

View file

@ -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)) {