From f72fdf1c7f443b8b62559279e55b439b0814e58a Mon Sep 17 00:00:00 2001
From: "Ronald S. Bultje" <rbultje@google.com>
Date: Mon, 22 Oct 2012 11:55:06 -0700
Subject: [PATCH] Fix another typo in 4x4-transform-for-i8x8-intra-pred coeff
 contexts.

Change-Id: I02e7f64a7c99f6c222b9ef21341b0e801d646810
---
 vp8/encoder/rdopt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vp8/encoder/rdopt.c b/vp8/encoder/rdopt.c
index aadadbcb1d..9bed044f94 100644
--- a/vp8/encoder/rdopt.c
+++ b/vp8/encoder/rdopt.c
@@ -1626,8 +1626,8 @@ static int64_t rd_pick_intra8x8block(VP8_COMP *cpi, MACROBLOCK *x, int ib,
   } else {
     *(a + vp8_block2above[ib])     = besta0;
     *(a + vp8_block2above[ib + 1]) = besta1;
-    *(l + vp8_block2above[ib])     = bestl0;
-    *(l + vp8_block2above[ib + 4]) = bestl1;
+    *(l + vp8_block2left[ib])      = bestl0;
+    *(l + vp8_block2left[ib + 4])  = bestl1;
   }
 
   return best_rd;
-- 
GitLab