ref: 240767b29db9fa0b89699c0b144cb9eacf1584fc
parent: ccae5d99d24a74f60a07a48ef98149d893fb15aa
author: hkuang <[email protected]>
date: Wed May 6 10:15:00 EDT 2015
Remove an unnecessary check. Change-Id: Id0f224ac4667dd173363b0f05711678448291d4e
--- a/vp9/common/vp9_onyxc_int.h
+++ b/vp9/common/vp9_onyxc_int.h
@@ -380,7 +380,7 @@
xd->left_available = (mi_col > tile->mi_col_start);
if (xd->up_available) {
xd->above_mi = xd->mi[-xd->mi_stride];
- xd->above_mbmi = xd->above_mi ? &xd->above_mi->mbmi : NULL;
+ xd->above_mbmi = &xd->above_mi->mbmi;
} else {
xd->above_mi = NULL;
xd->above_mbmi = NULL;
@@ -388,7 +388,7 @@
if (xd->left_available) {
xd->left_mi = xd->mi[-1];
- xd->left_mbmi = xd->left_mi ? &xd->left_mi->mbmi : NULL;
+ xd->left_mbmi = &xd->left_mi->mbmi;
} else {
xd->left_mi = NULL;
xd->left_mbmi = NULL;