Commit 3ab24050 authored by Rupert Swarbrick's avatar Rupert Swarbrick Committed by Debargha Mukherjee
Browse files

Fix build warning when compiling with warped motion

Since patch 52c5173e, update_stats() calls set_ref_ptrs on its local
xd variable, which updates xd->block_refs. This means xd should not be

Change-Id: Ia7b8e062e81497653d77f539e4aa403870c4fbb0
parent b6a31753
......@@ -1546,8 +1546,8 @@ static void update_stats(const AV1_COMMON *const cm, ThreadData *td, int mi_row,
MACROBLOCK *x = &td->mb;
MACROBLOCKD *const xd = &x->e_mbd;
const MACROBLOCK *x = &td->mb;
const MACROBLOCKD *const xd = &x->e_mbd;
MACROBLOCK *x = &td->mb;
MACROBLOCKD *const xd = &x->e_mbd;
const MODE_INFO *const mi = xd->mi[0];
const MB_MODE_INFO *const mbmi = &mi->mbmi;
Supports Markdown
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