1
0
Fork 0
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:
winlin 2014-09-30 11:21:46 +08:00
parent bc6616bd1f
commit f3002144fc
5 changed files with 25 additions and 7 deletions

View file

@ -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());