1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 20:01:56 +00:00

Fix build fail

This commit is contained in:
winlin 2021-02-07 21:39:09 +08:00
parent a43f339aa6
commit b4282a6ee1

View file

@ -87,7 +87,8 @@ const SrsContextId& SrsThreadContext::set_id(const SrsContextId& v)
return v;
}
SrsContextId* cid = v.copy();
SrsContextId* cid = new SrsContextId();
*cid = v;
if (_srs_context_key < 0) {
int r0 = srs_key_create(&_srs_context_key, _srs_context_destructor);