]> granicus.if.org Git - libvpx/commitdiff
Change eob[] array type in splitmv RD loop to a regular integer.
authorRonald S. Bultje <rbultje@google.com>
Tue, 23 Oct 2012 16:23:23 +0000 (09:23 -0700)
committerRonald S. Bultje <rbultje@google.com>
Tue, 23 Oct 2012 16:23:23 +0000 (09:23 -0700)
Change-Id: I240d6b50069fd3f35cc4fed2f4507796f0ef25e9

vp8/encoder/rdopt.c

index 136151befab1660e3dbaa17ce94b5de08c8b407a..2c31f960a1e5461c2cbc4ab77490aad8a1c54c8b 100644 (file)
@@ -2249,7 +2249,7 @@ typedef struct {
   int segment_yrate;
   B_PREDICTION_MODE modes[16];
   int_mv mvs[16], second_mvs[16];
-  unsigned char eobs[16];
+  int eobs[16];
 
   int mvthresh;
   int *mdcounts;
@@ -2289,7 +2289,7 @@ static void rd_check_segment_txsize(VP8_COMP *cpi, MACROBLOCK *x,
   int rate = 0;
   int sbr = 0, sbd = 0;
   int segmentyrate = 0;
-  uint8_t best_eobs[16] = { 0 };
+  int best_eobs[16] = { 0 };
 
   vp8_variance_fn_ptr_t *v_fn_ptr;