1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Refactor code

This commit is contained in:
winlin 2020-04-21 12:18:49 +08:00
parent 511cf65ec8
commit 74800d0137
5 changed files with 13 additions and 15 deletions

View file

@ -4747,7 +4747,8 @@ int SrsConfig::get_rtc_server_sendmmsg()
return DEFAULT;
}
return ::atoi(conf->arg0().c_str());
int v = ::atoi(conf->arg0().c_str());
return srs_max(1, v);
#endif
}