shithub: libvpx

Download patch

ref: 7145e3f7975a95c6c510443a51c874a23a4f1c61
parent: d22faee98d20430e7db9d8e1a28963d4f348ee47
author: Yaowu Xu <yaowu@google.com>
date: Mon May 12 06:01:00 EDT 2014

fixed comparison of different int types.

Change-Id: Iaa5543eb9e17589d46d9ed2bc363e2646ed4e01e

--- 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;