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:
parent
1cb2992808
commit
f69fa7273b
7 changed files with 13 additions and 13 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue