summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_pred_common.c
diff options
context:
space:
mode:
authorGuillaume Martres <gmartres@google.com>2013-10-10 12:11:44 -0700
committerGuillaume Martres <gmartres@google.com>2013-10-16 16:24:03 -0700
commitacf0d56f0bb2fc51508f07e38147044539138517 (patch)
treeaebbfc5bd8ee9e6b51e82671f9c3881a308c9e82 /vp9/common/vp9_pred_common.c
parent9a03154f4657f62ef21901a9117910eb569626b9 (diff)
downloadlibvpx-acf0d56f0bb2fc51508f07e38147044539138517.tar
libvpx-acf0d56f0bb2fc51508f07e38147044539138517.tar.gz
libvpx-acf0d56f0bb2fc51508f07e38147044539138517.tar.bz2
libvpx-acf0d56f0bb2fc51508f07e38147044539138517.zip
Get rid of "this_mi", use "mi_8x8[0]" everywhere instead
The only case where they were intentionally pointing to different structures was in mbgraph, and this didn't have the expected behavior because both of these pointers are used interchangeably through the code Change-Id: I979251782f90885fe962305bcc845bc05907f80c
Diffstat (limited to 'vp9/common/vp9_pred_common.c')
-rw-r--r--vp9/common/vp9_pred_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/common/vp9_pred_common.c b/vp9/common/vp9_pred_common.c
index e89683150..9453d02cd 100644
--- a/vp9/common/vp9_pred_common.c
+++ b/vp9/common/vp9_pred_common.c
@@ -389,7 +389,7 @@ unsigned char vp9_get_pred_context_tx_size(const MACROBLOCKD *xd) {
}
void vp9_set_pred_flag_seg_id(MACROBLOCKD *xd, uint8_t pred_flag) {
- xd->this_mi->mbmi.seg_id_predicted = pred_flag;
+ xd->mi_8x8[0]->mbmi.seg_id_predicted = pred_flag;
}
int vp9_get_segment_id(VP9_COMMON *cm, const uint8_t *segment_ids,