Merge "Fix a run-time integer overflow"
This commit is contained in:
commit
8910cf8d69
@ -808,7 +808,7 @@ static int write_superframe_index(vpx_codec_alg_priv_t *ctx) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// vp9 uses 10,000,000 ticks/second as time stamp
|
// vp9 uses 10,000,000 ticks/second as time stamp
|
||||||
#define TICKS_PER_SEC 10000000
|
#define TICKS_PER_SEC 10000000LL
|
||||||
|
|
||||||
static int64_t timebase_units_to_ticks(const vpx_rational_t *timebase,
|
static int64_t timebase_units_to_ticks(const vpx_rational_t *timebase,
|
||||||
int64_t n) {
|
int64_t n) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user