mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #180: crash for multiple edge publishing the same stream. 0.9.220.
This commit is contained in:
parent
bc6616bd1f
commit
f3002144fc
5 changed files with 25 additions and 7 deletions
|
@ -138,6 +138,11 @@ void show_macro_features()
|
|||
int main(int argc, char** argv)
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
||||
// TODO: FIXME: remove following.
|
||||
char* ptr = new char[1024];
|
||||
delete ptr;
|
||||
ptr[0] = 0;
|
||||
|
||||
// TODO: support both little and big endian.
|
||||
srs_assert(srs_is_little_endian());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue