shithub: libvpx

Download patch

ref: ff8edd3509773397b699d70b8701dba9fced3bf0
parent: bbe5ddfdfbded0867a8e8d445a453fd0596f9dae
author: James Zern <jzern@google.com>
date: Wed Jun 15 19:34:09 EDT 2016

vp9_pickmode: quiet int64->int conversion warning

since:
7901a05 VP9: block_yrd(): Use RD_COST * instead

Change-Id: I808be7a7bc96b81eb7d6255ae96cea7e9b1ecf1f

--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -1037,7 +1037,7 @@
   // Change the limit of this loop to add other intra prediction
   // mode tests.
   for (this_mode = DC_PRED; this_mode <= H_PRED; ++this_mode) {
-    this_rdc.rate = this_rdc.dist = 0;
+    this_rdc.dist = this_rdc.rate = 0;
     args.mode = this_mode;
     args.skippable = 1;
     args.rdc = &this_rdc;
@@ -1920,7 +1920,7 @@
 
       mi->mode = this_mode;
       mi->ref_frame[0] = INTRA_FRAME;
-      this_rdc.rate = this_rdc.dist = 0;
+      this_rdc.dist = this_rdc.rate = 0;
       args.mode = this_mode;
       args.skippable = 1;
       args.rdc = &this_rdc;