From 156fbb9fc530cd2a1d57dc516f67e720ce7f2238 Mon Sep 17 00:00:00 2001 From: Younes Manton Date: Mon, 31 May 2010 00:35:20 -0400 Subject: [PATCH] vl: Check mo_type not mb_type when setting motion vectors. --- src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2