From: Younes Manton Date: Mon, 31 May 2010 04:35:20 +0000 (-0400) Subject: vl: Check mo_type not mb_type when setting motion vectors. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=156fbb9fc530cd2a1d57dc516f67e720ce7f2238;p=mesa.git vl: Check mo_type not mb_type when setting motion vectors. --- diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c b/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c index fa7028b5d3b..e9024e4a409 100644 --- a/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c +++ b/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c @@ -886,7 +886,7 @@ gen_macroblock_verts(struct vl_mpeg12_mc_renderer *r, } } - if (mb->mb_type == PIPE_MPEG12_MOTION_TYPE_FRAME) { + if (mb->mo_type == PIPE_MPEG12_MOTION_TYPE_FRAME) { for (i = 0; i < 24 * 2; i += 2) { vb[i].x = mo_vec[0].x; vb[i].y = mo_vec[0].y;