Merge "Fix a run-time integer overflow"

This commit is contained in:
James Zern 2014-08-12 19:21:20 -07:00 committed by Gerrit Code Review
commit 8910cf8d69

View File

@ -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
#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) {