sna/video: Initialise the UV offsets to 0 for packed formats
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
db41bec0fd
commit
f1cbf13bb1
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue