Modules: Fix build fail for global variables.
This commit is contained in:
parent
00a8eef580
commit
f9d9f3a373
|
|
@ -58,6 +58,9 @@ ISrsContext* _srs_context = new SrsThreadContext();
|
||||||
// @global config object for app module.
|
// @global config object for app module.
|
||||||
SrsConfig* _srs_config = new SrsConfig();
|
SrsConfig* _srs_config = new SrsConfig();
|
||||||
|
|
||||||
|
// @global Other variables.
|
||||||
|
bool _srs_in_docker = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* main entrance.
|
* main entrance.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,9 @@ ISrsContext* _srs_context = new SrsThreadContext();
|
||||||
// @global config object for app module.
|
// @global config object for app module.
|
||||||
SrsConfig* _srs_config = new SrsConfig();
|
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 parse(std::string mp4_file, bool verbose)
|
||||||
{
|
{
|
||||||
srs_error_t err = srs_success;
|
srs_error_t err = srs_success;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user