Fix visual studio build issue
authorYunqing Wang <yunqingwang@google.com>
Tue, 1 Jul 2014 15:58:05 +0000 (08:58 -0700)
committerYunqing Wang <yunqingwang@google.com>
Tue, 1 Jul 2014 15:58:05 +0000 (08:58 -0700)
Fixed the signed/unsigned mismatch.

Change-Id: Id83d603b8f1745b71f4cf695a0751e55518b1316

vp9/encoder/vp9_encodeframe.c

index 80a9351..94143d9 100644 (file)
@@ -1172,7 +1172,7 @@ static void set_source_var_based_partition(VP9_COMP *cpi,
     const int offset = (mi_row >> 1) * cm->mb_cols + (mi_col >> 1);
     int is_larger_better = 0;
     int use32x32 = 0;
-    int thr = cpi->source_var_thresh;
+    unsigned int thr = cpi->source_var_thresh;
 
     vpx_memset(d32, 0, 4 * sizeof(diff));