summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i965_drv_video/gen6_vme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/i965_drv_video/gen6_vme.c b/i965_drv_video/gen6_vme.c
index 9e95559..145e3a5 100644
--- a/i965_drv_video/gen6_vme.c
+++ b/i965_drv_video/gen6_vme.c
@@ -556,7 +556,7 @@ static int gen6_vme_media_object_intra(VADriverContextP ctx,
| (pPixel[10][0] << 8)
| (pPixel[9][0] ) )); /*M3.2 */
- OUT_BATCH(ctx, ( (pPixel[0][0] << 24)
+ OUT_BATCH(ctx, ( (pPixel[16][0] << 24)
| (pPixel[15][0] << 16)
| (pPixel[14][0] << 8)
| (pPixel[13][0] ) )); /*M3.3 */
@@ -689,7 +689,7 @@ static int gen6_vme_media_object_inter(VADriverContextP ctx,
| (pPixel[10][0] << 8)
| (pPixel[9][0] ) )); /*M3.2 */
- OUT_BATCH(ctx, ( (pPixel[0][0] << 24)
+ OUT_BATCH(ctx, ( (pPixel[16][0] << 24)
| (pPixel[15][0] << 16)
| (pPixel[14][0] << 8)
| (pPixel[13][0] ) )); /*M3.3 */