diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-18 13:49:59 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-18 14:09:03 +0000 |
commit | 79cb6304e983514dd754065e65e2381a903f9bd6 (patch) | |
tree | 39801fa39637bbe47c845385a1c268abe6a28d84 /src/sna/sna_video_textured.c | |
parent | 0d26082303f3f4006ce4974d402c560613081b23 (diff) |
sna/xvmc: Clean up to avoid crash'n'burn
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_video_textured.c')
-rw-r--r-- | src/sna/sna_video_textured.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |