shithub: libvpx

Download patch

ref: 07f9fa4336f680bb16a47451a2b5a7c8f1288bf2
parent: aa3d59fcf9867b00ae7f93219aebd29c9631ce8c
parent: 0fc027ad33300516c0f75b260dfbf45f5605c580
author: Frank Galligan <fgalligan@google.com>
date: Thu May 8 04:49:12 EDT 2014

Merge "vp9_pickmode: Fix signed/unsigned mismatch."

--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -161,8 +161,8 @@
   struct macroblock_plane *const p = &x->plane[0];
   struct macroblockd_plane *const pd = &xd->plane[0];
 
-  int var = cpi->fn_ptr[bsize].vf(p->src.buf, p->src.stride,
-                                  pd->dst.buf, pd->dst.stride, &sse);
+  unsigned int var = cpi->fn_ptr[bsize].vf(p->src.buf, p->src.stride,
+                                           pd->dst.buf, pd->dst.stride, &sse);
 
   // TODO(jingning) This is a temporary solution to account for frames with
   // light changes. Need to customize the rate-distortion modeling for non-RD