Fix member alignment for usage on 64bit processors.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13882 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mosu 2004-11-05 21:40:34 +00:00
parent 4e22b3360e
commit 9ea3354fbf
1 changed files with 3 additions and 1 deletions

View File

@ -70,7 +70,7 @@ typedef struct stream_header_audio
ogg_int32_t avgbytespersec;
} stream_header_audio;
typedef struct stream_header
typedef struct __attribute__((__packed__)) stream_header
{
char streamtype[8];
char subtype[4];
@ -84,6 +84,8 @@ typedef struct stream_header
ogg_int32_t buffersize;
ogg_int16_t bits_per_sample;
ogg_int16_t padding;
union
{
// Video specific