mirror of https://github.com/mpv-player/mpv
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:
parent
4e22b3360e
commit
9ea3354fbf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue