mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
use number for macro VERSION_MAJOR, VERSION_MINOR and VERSION_REVISION. 1.0.5.
This commit is contained in:
parent
2175102ea2
commit
f2f259d050
4 changed files with 24 additions and 10 deletions
|
|
@ -491,17 +491,17 @@ int srs_write_packet(srs_rtmp_t rtmp, int type, u_int32_t timestamp, char* data,
|
|||
|
||||
int srs_version_major()
|
||||
{
|
||||
return ::atoi(VERSION_MAJOR);
|
||||
return VERSION_MAJOR;
|
||||
}
|
||||
|
||||
int srs_version_minor()
|
||||
{
|
||||
return ::atoi(VERSION_MINOR);
|
||||
return VERSION_MINOR;
|
||||
}
|
||||
|
||||
int srs_version_revision()
|
||||
{
|
||||
return ::atoi(VERSION_REVISION);
|
||||
return VERSION_REVISION;
|
||||
}
|
||||
|
||||
int64_t srs_get_time_ms()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue