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

fix #302, remove the thread unsafe code, no static.

This commit is contained in:
winlin 2015-03-23 21:19:04 +08:00
parent 1cb2992808
commit f69fa7273b
7 changed files with 13 additions and 13 deletions

View file

@ -146,7 +146,7 @@ public:
data.append(serialFlv(msg));
}
static char box_header[8];
char box_header[8];
SrsStream ss;
ss.initialize(box_header, 8);
ss.write_4bytes(8 + data.size());