diff options
author | voroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-10 18:55:52 +0000 |
---|---|---|
committer | voroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-10 18:55:52 +0000 |
commit | 78c2694b4807df0fcf68c0ce8fbc4b2fc9767527 (patch) | |
tree | ac0b42628e502de57ba7c21a7ade3062bf00e300 /loader/wine/mmreg.h | |
parent | 903cbd2fc75f40d95a15f2781374890758accb43 (diff) | |
download | mpv-78c2694b4807df0fcf68c0ce8fbc4b2fc9767527.tar.bz2 mpv-78c2694b4807df0fcf68c0ce8fbc4b2fc9767527.tar.xz |
Revert r24424.
Fix is wrong, because 'packed' attribute can be placed before
structure definition only when all members have this attribute.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24426 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 8b115dbd6a..bc5fc0c10d 100644 --- a/loader/wine/mmreg.h +++ b/loader/wine/mmreg.h @@ -90,19 +90,19 @@ typedef struct { #ifndef _MPEGLAYER3WAVEFORMAT_ #define _MPEGLAYER3WAVEFORMAT_ -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; +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; } MPEGLAYER3WAVEFORMAT; #endif /* !_MPEGLAYER3WAVEFORMAT_ */ |