Fix mi_row argument to update_stats().
authorRonald S. Bultje <rbultje@google.com>
Sat, 27 Apr 2013 22:59:37 +0000 (15:59 -0700)
committerRonald S. Bultje <rbultje@google.com>
Mon, 29 Apr 2013 19:05:20 +0000 (12:05 -0700)
This doesn't change output, because the argument isn't actually used
ATM. However, we should fix it for consistency.

Change-Id: I7b7326a8e92c0d411c999ec2c781204b516ed53d

vp9/encoder/vp9_encodeframe.c

index dbd3811..6146081 100644 (file)
@@ -828,7 +828,7 @@ static void encode_sb(VP9_COMP *cpi,
                         output_enabled, mi_row, mi_col + (i << CONFIG_SB8X8),
                         BLOCK_SIZE_SB16X32);
       if (output_enabled) {
-        update_stats(cpi, mi_row, mi_col + i);
+        update_stats(cpi, mi_row, mi_col + (i << CONFIG_SB8X8));
 
         (*tp)->token = EOSB_TOKEN;
         (*tp)++;