xf86-video-intel: src/sna/sna_video.c

Chris Wilson ickle at kemper.freedesktop.org
Sat Aug 17 15:38:43 PDT 2013


 src/sna/sna_video.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit f1cbf13bb1ad7432d681ef7cbbc17bcf2d23c554
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sat Aug 17 23:37:57 2013 +0100

    sna/video: Initialise the UV offsets to 0 for packed formats
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_video.c b/src/sna/sna_video.c
index 9f41edd..cd9e3ee 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);


More information about the xorg-commit mailing list