diff options
author | Scott LaVarnway <slavarnway@google.com> | 2015-05-01 08:23:47 -0700 |
---|---|---|
committer | Scott LaVarnway <slavarnway@google.com> | 2015-05-01 08:23:47 -0700 |
commit | 7b0f24fc216eb864fddd7a48eee3c24f4844e017 (patch) | |
tree | e2390a79e4949178574b6ddf09b2f8bd06f22e11 | |
parent | c77b1f5acd09852aff1ba09d7f371728a60634d7 (diff) | |
download | libvpx-7b0f24fc216eb864fddd7a48eee3c24f4844e017.tar.gz |
FIX: Use correct above/left in read_intra_frame_mode_info
Should be using xd->above_mi and xd->left_mi.
Change-Id: Ifab83512db5491a955a3ed44a2d6e3b25b5ae5a5
-rw-r--r-- | vp9/decoder/vp9_decodemv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vp9/decoder/vp9_decodemv.c b/vp9/decoder/vp9_decodemv.c index 6cf4f1e44..ce6ff9977 100644 --- a/vp9/decoder/vp9_decodemv.c +++ b/vp9/decoder/vp9_decodemv.c @@ -193,8 +193,8 @@ static void read_intra_frame_mode_info(VP9_COMMON *const cm, int mi_row, int mi_col, vp9_reader *r) { MODE_INFO *const mi = xd->mi[0]; MB_MODE_INFO *const mbmi = &mi->mbmi; - const MODE_INFO *above_mi = xd->mi[-cm->mi_stride]; - const MODE_INFO *left_mi = xd->left_available ? xd->mi[-1] : NULL; + const MODE_INFO *above_mi = xd->above_mi; + const MODE_INFO *left_mi = xd->left_mi; const BLOCK_SIZE bsize = mbmi->sb_type; int i; |