shithub: libvpx

Download patch

ref: 7c5eb6d5da0e69db7b8b2d4822b5ded0905c2cf0
parent: 247c4f769c161821c794323574f1f65fbbb0f079
author: Ronald S. Bultje <rbultje@google.com>
date: Sat Apr 27 11:59:37 EDT 2013

Fix mi_row argument to update_stats().

This doesn't change output, because the argument isn't actually used
ATM. However, we should fix it for consistency.

Change-Id: I7b7326a8e92c0d411c999ec2c781204b516ed53d

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -828,7 +828,7 @@
                         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)++;