[Xcb-commit] xcb/proto: src

Peter Harris peterh at kemper.freedesktop.org
Tue Jun 10 11:14:34 PDT 2014


 src/xv.xml |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 84bfd909bc3774a459b11614cfebeaa584a1eb38
Author: Daniel Martin <consume.noise at gmail.com>
Date:   Mon Jun 9 17:55:05 2014 +0200

    xv: Add align. pad in struct AdaptorInfo
    
    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>
    Signed-off-by: Peter Harris <pharris at opentext.com>

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 @@ authorization from the authors.
         <list type="char" name="name">
             <fieldref>name_size</fieldref>
         </list>
+        <pad align="4" />
         <list type="Format" name="formats">
             <fieldref>num_formats</fieldref>
         </list>


More information about the xcb-commit mailing list