From 50c1843047677d99f958774c8d4c0fe655317372 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Wed, 21 May 2008 13:31:35 -0700 Subject: [PATCH] headers: Update aviriff header to use 1 byte alignment --- include/aviriff.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/aviriff.h b/include/aviriff.h index eb8170d..c7ff01f 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 from on-disk formats, so 1 byte alignment is needed */ +#include "pshpack1.h" + typedef struct _riffchunk { FOURCC fcc; @@ -317,3 +320,5 @@ typedef struct _avifieldindex_chunk { DWORD dwOffsetField2; } aIndex[ANYSIZE_ARRAY]; } AVIFIELDINDEX, * PAVIFIELDINDEX; + +#include "poppack.h" -- 1.5.4.1