[FFmpeg-devel] [PATCH]Disable usage of byteswap.h

Carl Eugen Hoyos cehoyos
Sat Oct 4 21:20:00 CEST 2008


Hi!

If this is wanted, I can also remove the check from configure.

Please comment, Carl Eugen
-------------- next part --------------
Index: libavutil/bswap.h
===================================================================
--- libavutil/bswap.h	(Revision 15552)
+++ libavutil/bswap.h	(Arbeitskopie)
@@ -30,10 +30,6 @@
 #include "config.h"
 #include "common.h"
 
-#ifdef HAVE_BYTESWAP_H
-#include <byteswap.h>
-#else
-
 static av_always_inline av_const uint16_t bswap_16(uint16_t x)
 {
 #if defined(ARCH_X86)
@@ -108,8 +104,6 @@
 #endif
 }
 
-#endif  /* !HAVE_BYTESWAP_H */
-
 // be2me ... BigEndian to MachineEndian
 // le2me ... LittleEndian to MachineEndian
 



More information about the ffmpeg-devel mailing list