Maarten Lankhorst : include: Update aviriff header to use the right alignment.

Alexandre Julliard julliard at winehq.org
Fri May 23 05:45:36 CDT 2008


Module: wine
Branch: master
Commit: a486ec907dda94b4e76ae605bdcda68286cc56cc
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a486ec907dda94b4e76ae605bdcda68286cc56cc

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Wed May 21 13:31:35 2008 -0700

include: Update aviriff header to use the right alignment.

---

 include/aviriff.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/aviriff.h b/include/aviriff.h
index eb8170d..d2cfa41 100644
--- a/include/aviriff.h
+++ b/include/aviriff.h
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+/* All definitions here are packed structures of on-disk formats */
+#include <pshpack2.h>
+
 typedef struct _riffchunk
 {
     FOURCC fcc;
@@ -317,3 +320,5 @@ typedef struct _avifieldindex_chunk {
         DWORD dwOffsetField2;
     } aIndex[ANYSIZE_ARRAY];
 } AVIFIELDINDEX, * PAVIFIELDINDEX;
+
+#include <poppack.h>




More information about the wine-cvs mailing list