Mercurial > mplayer.hg
changeset 13741:f7d95487255b
FreeBSD compilation fix
author | reimar |
---|---|
date | Sat, 23 Oct 2004 18:26:04 +0000 |
parents | 7b459982a1a8 |
children | ea5640a93a13 |
files | libao2/afmt.h |
diffstat | 1 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libao2/afmt.h Sat Oct 23 15:48:31 2004 +0000 +++ b/libao2/afmt.h Sat Oct 23 18:26:04 2004 +0000 @@ -34,10 +34,24 @@ /* 24 bit formats from the linux kernel */ #ifndef AFMT_S24_LE + +// FreeBSD fix... +#if AFMT_S32_LE == 0x1000 + +#define AFMT_S24_LE 0x00010000 +#define AFMT_S24_BE 0x00020000 +#define AFMT_U24_LE 0x00040000 +#define AFMT_U24_BE 0x00080000 + +#else + #define AFMT_S24_LE 0x00000800 #define AFMT_S24_BE 0x00001000 #define AFMT_U24_LE 0x00002000 #define AFMT_U24_BE 0x00004000 + +#endif + #endif /* 32 bit formats from the linux kernel */