FreeBSD compilation fix

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13742 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2004-10-23 18:26:04 +00:00
parent e0794ed34d
commit 941fa2881c
1 changed files with 14 additions and 0 deletions

View File

@ -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 */