1
0
Fork 0
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:
winlin 2021-04-25 13:34:57 +08:00
parent 00a8eef580
commit f9d9f3a373
2 changed files with 6 additions and 0 deletions

View file

@ -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.
*/

View file

@ -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;