Mercurial > mplayer.hg
diff loader/wine/mmreg.h @ 30539:437b251e4194
Directly mark structs as WINE_PACKED where all members are marked as packed.
This fixes a ton of gcc warnings about ignored packed attributes.
author | diego |
---|---|
date | Sun, 14 Feb 2010 14:49:44 +0000 |
parents | 0f1b5b68af32 |
children |
line wrap: on
line diff
--- a/loader/wine/mmreg.h Sun Feb 14 14:48:54 2010 +0000 +++ b/loader/wine/mmreg.h Sun Feb 14 14:49:44 2010 +0000 @@ -89,19 +89,19 @@ #ifndef _MPEGLAYER3WAVEFORMAT_ #define _MPEGLAYER3WAVEFORMAT_ -typedef struct mpeglayer3waveformat_tag { - WORD wFormatTag WINE_PACKED; - WORD nChannels WINE_PACKED; - DWORD nSamplesPerSec WINE_PACKED; - DWORD nAvgBytesPerSec WINE_PACKED; - WORD nBlockAlign WINE_PACKED; - WORD wBitsPerSample WINE_PACKED; - WORD cbSize WINE_PACKED; - WORD wID WINE_PACKED; - DWORD fdwFlags WINE_PACKED; - WORD nBlockSize WINE_PACKED; - WORD nFramesPerBlock WINE_PACKED; - WORD nCodecDelay WINE_PACKED; +typedef struct WINE_PACKED mpeglayer3waveformat_tag { + WORD wFormatTag; + WORD nChannels; + DWORD nSamplesPerSec; + DWORD nAvgBytesPerSec; + WORD nBlockAlign; + WORD wBitsPerSample; + WORD cbSize; + WORD wID; + DWORD fdwFlags; + WORD nBlockSize; + WORD nFramesPerBlock; + WORD nCodecDelay; } MPEGLAYER3WAVEFORMAT; #endif /* !_MPEGLAYER3WAVEFORMAT_ */