Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
30538:571231765512 | 30539:437b251e4194 |
---|---|
87 } WAVEFORMATEXTENSIBLE, *PWAVEFORMATEXTENSIBLE; | 87 } WAVEFORMATEXTENSIBLE, *PWAVEFORMATEXTENSIBLE; |
88 #endif // !_WAVEFORMATEXTENSIBLE_ | 88 #endif // !_WAVEFORMATEXTENSIBLE_ |
89 | 89 |
90 #ifndef _MPEGLAYER3WAVEFORMAT_ | 90 #ifndef _MPEGLAYER3WAVEFORMAT_ |
91 #define _MPEGLAYER3WAVEFORMAT_ | 91 #define _MPEGLAYER3WAVEFORMAT_ |
92 typedef struct mpeglayer3waveformat_tag { | 92 typedef struct WINE_PACKED mpeglayer3waveformat_tag { |
93 WORD wFormatTag WINE_PACKED; | 93 WORD wFormatTag; |
94 WORD nChannels WINE_PACKED; | 94 WORD nChannels; |
95 DWORD nSamplesPerSec WINE_PACKED; | 95 DWORD nSamplesPerSec; |
96 DWORD nAvgBytesPerSec WINE_PACKED; | 96 DWORD nAvgBytesPerSec; |
97 WORD nBlockAlign WINE_PACKED; | 97 WORD nBlockAlign; |
98 WORD wBitsPerSample WINE_PACKED; | 98 WORD wBitsPerSample; |
99 WORD cbSize WINE_PACKED; | 99 WORD cbSize; |
100 WORD wID WINE_PACKED; | 100 WORD wID; |
101 DWORD fdwFlags WINE_PACKED; | 101 DWORD fdwFlags; |
102 WORD nBlockSize WINE_PACKED; | 102 WORD nBlockSize; |
103 WORD nFramesPerBlock WINE_PACKED; | 103 WORD nFramesPerBlock; |
104 WORD nCodecDelay WINE_PACKED; | 104 WORD nCodecDelay; |
105 } MPEGLAYER3WAVEFORMAT; | 105 } MPEGLAYER3WAVEFORMAT; |
106 #endif /* !_MPEGLAYER3WAVEFORMAT_ */ | 106 #endif /* !_MPEGLAYER3WAVEFORMAT_ */ |
107 | 107 |
108 /* WAVE form wFormatTag IDs */ | 108 /* WAVE form wFormatTag IDs */ |
109 | 109 |