From 79cb6304e983514dd754065e65e2381a903f9bd6 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 18 Dec 2012 13:49:59 +0000 Subject: sna/xvmc: Clean up to avoid crash'n'burn Signed-off-by: Chris Wilson --- src/sna/sna_video_textured.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sna/sna_video_textured.c') diff --git a/src/sna/sna_video_textured.c b/src/sna/sna_video_textured.c index 92073d97..f37b4ef6 100644 --- a/src/sna/sna_video_textured.c +++ b/src/sna/sna_video_textured.c @@ -362,7 +362,7 @@ sna_video_textured_query(ScrnInfoPtr scrn, #ifdef SNA_XVMC case FOURCC_XVMC: *h = (*h + 1) & ~1; - size = sizeof(struct sna_xvmc_command); + size = sizeof(uint32_t); if (pitches) pitches[0] = size; break; -- cgit v1.2.3