[Mplayer-cvslog] CVS: main/libao2 afmt.h,1.7,1.8

Reimar Döffinger CVS syncmail at mplayerhq.hu
Sat Oct 23 20:26:07 CEST 2004


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libao2
In directory mail:/var2/tmp/cvs-serv29059/libao2

Modified Files:
	afmt.h 
Log Message:
FreeBSD compilation fix


Index: afmt.h
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/afmt.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- afmt.h	4 Oct 2004 19:05:16 -0000	1.7
+++ afmt.h	23 Oct 2004 18:26:04 -0000	1.8
@@ -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 */




More information about the MPlayer-cvslog mailing list