ref: 6d2307b2dda4c2d68a3e65e9ca43b3b39357cd9c
parent: d79b0706e96a9699fdabd8f1a0769467b2e840de
parent: e5034f65e54234d5ef6a99ddb405208c91bf812e
author: Yaowu Xu <[email protected]>
date: Fri Jan 24 08:44:05 EST 2014
Merge "Fixed integer overflow for large input video"
--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -471,7 +471,7 @@
int sum_mvr = 0, sum_mvc = 0;
int sum_mvr_abs = 0, sum_mvc_abs = 0;
- int sum_mvrs = 0, sum_mvcs = 0;
+ int64_t sum_mvrs = 0, sum_mvcs = 0;
int mvcount = 0;
int intercount = 0;
int second_ref_count = 0;