shithub: libvpx

Download patch

ref: c80287f02d7f96a4978bd543a332a57090c7b360
parent: 77c754df795838395a82d8660b1ad01ce84e15b3
parent: 7145e3f7975a95c6c510443a51c874a23a4f1c61
author: Yaowu Xu <yaowu@google.com>
date: Mon May 12 10:05:47 EDT 2014

Merge "fixed comparison of different int types."

--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -761,7 +761,7 @@
 
 
 VP9_COMP *vp9_create_compressor(VP9EncoderConfig *oxcf) {
-  int i, j;
+  unsigned int i, j;
   VP9_COMP *const cpi = vpx_memalign(32, sizeof(VP9_COMP));
   VP9_COMMON *const cm = cpi != NULL ? &cpi->common : NULL;
 
@@ -1054,7 +1054,7 @@
 }
 
 void vp9_remove_compressor(VP9_COMP *cpi) {
-  int i;
+  unsigned int i;
 
   if (!cpi)
     return;