summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYounes Manton <[email protected]>2010-05-31 00:35:20 -0400
committerYounes Manton <[email protected]>2010-05-31 00:35:20 -0400
commit156fbb9fc530cd2a1d57dc516f67e720ce7f2238 (patch)
treeef1a03c78ac8a1b6ab513298a8751dcaba55f183
parentea3a01ae4d2117b733c0d415ce5bc69015984d30 (diff)
vl: Check mo_type not mb_type when setting motion vectors.
-rw-r--r--src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c2
1 files changed, 1 insertions, 1 deletions
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;