shithub: libvpx

Download patch

ref: d27ae620bce34ebb4a78502ad7b10d14f491b216
parent: d5a8b62d06bcc928b45deb8f3d5938e4a83c5eb1
author: Paul Wilkins <paulwilkins@google.com>
date: Fri Jan 11 14:41:39 EST 2013

Remove INT64_MAX references.

Replace INT64_MAX references with LLONG_MAX
for windows build.

Change-Id: Ib8b45c1e9c15c043b2f54c27ed83b8682b2be34f

--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -1362,7 +1362,7 @@
   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 @@
                                          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;
 
--