summaryrefslogtreecommitdiff
path: root/vp9/encoder
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@google.com>2013-04-27 15:59:37 -0700
committerRonald S. Bultje <rbultje@google.com>2013-04-29 12:05:20 -0700
commit7c5eb6d5da0e69db7b8b2d4822b5ded0905c2cf0 (patch)
tree26c04dc01d46a76c2e91b10cfc180feb8dcb146f /vp9/encoder
parent247c4f769c161821c794323574f1f65fbbb0f079 (diff)
downloadlibvpx-7c5eb6d5da0e69db7b8b2d4822b5ded0905c2cf0.tar
libvpx-7c5eb6d5da0e69db7b8b2d4822b5ded0905c2cf0.tar.gz
libvpx-7c5eb6d5da0e69db7b8b2d4822b5ded0905c2cf0.tar.bz2
libvpx-7c5eb6d5da0e69db7b8b2d4822b5ded0905c2cf0.zip
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
Diffstat (limited to 'vp9/encoder')
-rw-r--r--vp9/encoder/vp9_encodeframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c
index dbd381129..614608127 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)++;