]> granicus.if.org Git - libvpx/commitdiff
Remove INT64_MAX references.
authorPaul Wilkins <paulwilkins@google.com>
Fri, 11 Jan 2013 19:41:39 +0000 (19:41 +0000)
committerPaul Wilkins <paulwilkins@google.com>
Fri, 11 Jan 2013 19:45:26 +0000 (19:45 +0000)
Replace INT64_MAX references with LLONG_MAX
for windows build.

Change-Id: Ib8b45c1e9c15c043b2f54c27ed83b8682b2be34f

vp9/encoder/vp9_rdopt.c

index 7d2c489d5a832d041de4d84e7ba10d2512fe6f3d..a82670b6e293c40116df453b3f6a5047fdb2ce12 100644 (file)
@@ -1362,7 +1362,7 @@ static int64_t rd_pick_intra_sb64y_mode(VP9_COMP *cpi,
   MB_PREDICTION_MODE UNINITIALIZED_IS_SAFE(mode_selected);
   int this_rate, this_rate_tokenonly;
   int this_distortion, s;
-  int64_t best_rd = INT64_MAX, this_rd;
+  int64_t best_rd = LLONG_MAX, this_rd;
 
   /* Y Search for 32x32 intra prediction mode */
   for (mode = DC_PRED; mode <= TM_PRED; mode++) {
@@ -2191,7 +2191,7 @@ static int64_t rd_pick_intra_sb64uv_mode(VP9_COMP *cpi,
                                          int *skippable) {
   MB_PREDICTION_MODE mode;
   MB_PREDICTION_MODE UNINITIALIZED_IS_SAFE(mode_selected);
-  int64_t best_rd = INT64_MAX, this_rd;
+  int64_t best_rd = LLONG_MAX, this_rd;
   int this_rate_tokenonly, this_rate;
   int this_distortion, s;