[Xcb] [PATH proto] xv: Add align. pad in struct AdaptorInfo
Daniel Martin
consume.noise at gmail.com
Mon Jun 9 08:55:05 PDT 2014
The (list) 'name' in the struct AdaptorInfo is not padded. Therefore
we've to add an alignment pad after it.
Reference: http://cgit.freedesktop.org/xorg/lib/libXv/tree/src/Xv.c#n250
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79808
Signed-off-by: Daniel Martin <consume.noise at gmail.com>
---
src/xv.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/xv.xml b/src/xv.xml
index 0b55d36..47a05d0 100644
--- a/src/xv.xml
+++ b/src/xv.xml
@@ -101,6 +101,7 @@ <struct name="AdaptorInfo">
<list type="char" name="name">
<fieldref>name_size</fieldref>
</list>
+ <pad align="4" />
<list type="Format" name="formats">
<fieldref>num_formats</fieldref>
</list>
--
1.9.2
More information about the Xcb
mailing list