1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

fix h264 rtp packet error

This commit is contained in:
xiaozhihong 2020-03-18 08:45:20 +08:00
parent fc84f1e545
commit e2233027b8
5 changed files with 34 additions and 15 deletions

View file

@ -1201,7 +1201,6 @@ string srs_string_dumps_hex(const std::string& str, const int& limit)
string srs_string_dumps_hex(const char* buf, const int length, const int& limit)
{
string ret;
ret.reserve(limit * 4);
char tmp_buf[1024*16];
tmp_buf[0] = '\n';