Commit 6279d129 authored by Geza Lore's avatar Geza Lore
Browse files

Pick up top left mbmi for supertx decode.

This ensures using the correct segment_id downstream in
reconstruct_inter_block.

Change-Id: Ia8b6ec60de51fa2e26c326d3c537abb18aea75ae
parent f304d5c8
......@@ -1785,9 +1785,10 @@ static void decode_partition(VP10Decoder *const pbi, MACROBLOCKD *const xd,
if (!skip) {
int eobtotal = 0;
MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi;
MB_MODE_INFO *mbmi;
set_offsets_topblock(cm, xd, tile, bsize, mi_row, mi_col);
xd->mi[0]->mbmi.tx_type = txfm;
mbmi = &xd->mi[0]->mbmi;
mbmi->tx_type = txfm;
for (i = 0; i < MAX_MB_PLANE; ++i) {
const struct macroblockd_plane *const pd = &xd->plane[i];
const int num_4x4_w = pd->n4_w;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment