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

@ -260,7 +260,7 @@ int SrsHandshakeBytes::create_c0c1()
srs_random_generate(c0c1, 1537);
// plain text required.
static SrsStream stream;
SrsStream stream;
if ((ret = stream.initialize(c0c1, 9)) != ERROR_SUCCESS) {
return ret;
}