Commit 3011c53d authored by Yaowu Xu's avatar Yaowu Xu

Fix a run-time integer overflow

Change-Id: I87255d8a25ef8c7d235cbf3c8887d7bed7892cfe
parent 72a5832a
......@@ -805,7 +805,7 @@ static int write_superframe_index(vpx_codec_alg_priv_t *ctx) {
}
// 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,
int64_t n) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment