summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-10-12 19:50:24 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-10-12 19:50:24 +0000
commit89493e10efe5f41f780f63f2b2d14964862d4d3a (patch)
tree731f99329e720e0f1fc3615e5ddbe0a3a124cbcc
parentc5f67c15598131816d9f2422a213bd7a2ed6b963 (diff)
Don't include byteswap.h anymore.
Originally committed as revision 15603 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure5
-rw-r--r--libavutil/bswap.h6
2 files changed, 0 insertions, 11 deletions
diff --git a/configure b/configure
index af51ab4057..8225d81868 100755
--- a/configure
+++ b/configure
@@ -763,7 +763,6 @@ HAVE_LIST="
altivec_h
arpa_inet_h
bswap
- byteswap_h
closesocket
cmov
conio_h
@@ -870,9 +869,6 @@ neon_deps="armv4l"
ssse3_deps="x86"
vis_deps="sparc"
-# system headers and functions
-byteswap_h_deps="!armv4l"
-
# decoders / encoders
ac3_decoder_deps="gpl"
dxa_decoder_deps="zlib"
@@ -1673,7 +1669,6 @@ check_func memalign
check_func mkstemp
check_func_headers windows.h GetProcessTimes
-check_header byteswap.h
check_header conio.h
check_header dlfcn.h
check_header malloc.h
diff --git a/libavutil/bswap.h b/libavutil/bswap.h
index 86a2492a20..18fa594f94 100644
--- a/libavutil/bswap.h
+++ b/libavutil/bswap.h
@@ -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 @@ static inline uint64_t av_const bswap_64(uint64_t x)
#endif
}
-#endif /* !HAVE_BYTESWAP_H */
-
// be2me ... BigEndian to MachineEndian
// le2me ... LittleEndian to MachineEndian