changeset 12800:d4e22e1f39f8

x86_64 fix by John Stebbins <john@stebbins.name>
author faust3
date Mon, 12 Jul 2004 08:55:10 +0000
parents befb79b0232e
children 9d9e74f6473b
files libmpdemux/aviheader.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/aviheader.h	Sun Jul 11 22:47:49 2004 +0000
+++ b/libmpdemux/aviheader.h	Mon Jul 12 08:55:10 2004 +0000
@@ -143,7 +143,7 @@
 } avistdindex_entry;
 
 // Standard index 
-typedef struct _avistdindex_chunk {
+typedef struct __attribute((packed)) _avistdindex_chunk {
     char           fcc[4];       // ix##
     uint32_t  dwSize;            // size of this chunk
     uint16_t wLongsPerEntry;     // must be sizeof(aIndex[0])/sizeof(DWORD)