diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-17 23:37:57 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-17 23:37:57 +0100 |
commit | f1cbf13bb1ad7432d681ef7cbbc17bcf2d23c554 (patch) | |
tree | dfc1b702f72bb2aa3454224df537dcd91ab218c8 /src/sna/sna_video.c | |
parent | db41bec0fd4dc8eec1f44a988f1c5a531594604f (diff) |
sna/video: Initialise the UV offsets to 0 for packed formats
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_video.c')
-rw-r--r-- | src/sna/sna_video.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna_video.c b/src/sna/sna_video.c index 9f41edd9..cd9e3ee3 100644 --- a/src/sna/sna_video.c +++ b/src/sna/sna_video.c @@ -269,6 +269,8 @@ sna_video_frame_init(struct sna_video *video, break; } frame->pitch[1] = 0; + frame->UBufOffset = 0; + frame->VBufOffset = 0; } assert(frame->size); |