Commit ae1eb5f2 authored by Ronald S. Bultje's avatar Ronald S. Bultje Committed by Janne Grunau

Use seg->globalmv/skip in determining is_comp

parent e5510796
......@@ -1350,7 +1350,7 @@ static int decode_b(Dav1dTileContext *const t,
if (b->skip_mode) {
is_comp = 1;
} else if ((!seg || seg->ref == -1) &&
} else if ((!seg || (seg->ref == -1 && !seg->globalmv && !seg->skip)) &&
f->frame_hdr.switchable_comp_refs && imin(bw4, bh4) > 1)
{
const int ctx = get_comp_ctx(t->a, &t->l, by4, bx4,
......
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