From 7c5eb6d5da0e69db7b8b2d4822b5ded0905c2cf0 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 27 Apr 2013 15:59:37 -0700 Subject: [PATCH] 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 --- vp9/encoder/vp9_encodeframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index dbd3811..6146081 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -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)++; -- 2.7.4