mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Modules: Fix build fail for global variables.
This commit is contained in:
parent
00a8eef580
commit
f9d9f3a373
2 changed files with 6 additions and 0 deletions
|
@ -58,6 +58,9 @@ ISrsContext* _srs_context = new SrsThreadContext();
|
|||
// @global config object for app module.
|
||||
SrsConfig* _srs_config = new SrsConfig();
|
||||
|
||||
// @global Other variables.
|
||||
bool _srs_in_docker = false;
|
||||
|
||||
/**
|
||||
* main entrance.
|
||||
*/
|
||||
|
|
|
@ -44,6 +44,9 @@ ISrsContext* _srs_context = new SrsThreadContext();
|
|||
// @global config object for app module.
|
||||
SrsConfig* _srs_config = new SrsConfig();
|
||||
|
||||
// @global Other variables.
|
||||
bool _srs_in_docker = false;
|
||||
|
||||
srs_error_t parse(std::string mp4_file, bool verbose)
|
||||
{
|
||||
srs_error_t err = srs_success;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue