mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refactor code
This commit is contained in:
parent
511cf65ec8
commit
74800d0137
5 changed files with 13 additions and 15 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue