mirror of
https://github.com/ossrs/srs.git
synced 2025-11-24 11:54:21 +08:00
Modules: Fix build fail for global variables.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user