diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-14 14:49:44 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-14 14:49:44 +0000 |
commit | 4b6ce33628fd942a18bc5e5053da61024c13a9c6 (patch) | |
tree | d49a895bfa11c62a631bce0385665ca239f6f8bc /loader/wine/mmreg.h | |
parent | 552206882168b6ef4bacd1c3b198df21a0ce6ccf (diff) | |
download | mpv-4b6ce33628fd942a18bc5e5053da61024c13a9c6.tar.bz2 mpv-4b6ce33628fd942a18bc5e5053da61024c13a9c6.tar.xz |
Directly mark structs as WINE_PACKED where all members are marked as packed.
This fixes a ton of gcc warnings about ignored packed attributes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30581 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/wine/mmreg.h')
-rw-r--r-- | loader/wine/mmreg.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/loader/wine/mmreg.h b/loader/wine/mmreg.h index 4ab6b7a2ff..2ed01a215e 100644 --- a/loader/wine/mmreg.h +++ b/loader/wine/mmreg.h @@ -89,19 +89,19 @@ typedef struct { #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_ */ |