Skip to content

time unit incorrect in comments #3976

Open
@suzp1984

Description

The time unit incorrect

// The time unit in ms, for example 120 * SRS_UTIME_SECONDS means 120s.

time unit ms should be seconds.

// The time unit in **seconds**, for example 120 * SRS_UTIME_SECONDS means 120s.   ->
#define SRS_UTIME_SECONDS 1000000LL

srsu2si: convert long long to int

#define srsu2si(us) ((us) / SRS_UTIME_SECONDS)

#define srsu2si(us) ((us) / SRS_UTIME_SECONDS) ->
#define srsu2si(us) int ((us) / SRS_UTIME_SECONDS)

Version
All SRS version

Metadata

Assignees

Labels

EnglishNativeThis issue is conveyed exclusively in English.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions