[MPlayer-cvslog] r23659 - trunk/mpbswap.h

reimar subversion at mplayerhq.hu
Sun Jun 24 19:24:13 CEST 2007


Author: reimar
Date: Sun Jun 24 19:24:13 2007
New Revision: 23659

Log:
Hide our swab prototype when the system has swab since at least the
Solaris definition is incompatible with ours (char * vs. void *)


Modified:
   trunk/mpbswap.h

Modified: trunk/mpbswap.h
==============================================================================
--- trunk/mpbswap.h	(original)
+++ trunk/mpbswap.h	Sun Jun 24 19:24:13 2007
@@ -2,6 +2,8 @@
 #define MPBSWAP_H
 
 #include "libavutil/bswap.h"
+#ifndef HAVE_SWAB
 void swab(const void *from, void *to, ssize_t n);
+#endif
 
 #endif /* MPBSWAP_H */



More information about the MPlayer-cvslog mailing list