Commit 89493e10 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Don't include byteswap.h anymore.

Originally committed as revision 15603 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c5f67c15
...@@ -763,7 +763,6 @@ HAVE_LIST=" ...@@ -763,7 +763,6 @@ HAVE_LIST="
altivec_h altivec_h
arpa_inet_h arpa_inet_h
bswap bswap
byteswap_h
closesocket closesocket
cmov cmov
conio_h conio_h
...@@ -870,9 +869,6 @@ neon_deps="armv4l" ...@@ -870,9 +869,6 @@ neon_deps="armv4l"
ssse3_deps="x86" ssse3_deps="x86"
vis_deps="sparc" vis_deps="sparc"
# system headers and functions
byteswap_h_deps="!armv4l"
# decoders / encoders # decoders / encoders
ac3_decoder_deps="gpl" ac3_decoder_deps="gpl"
dxa_decoder_deps="zlib" dxa_decoder_deps="zlib"
...@@ -1673,7 +1669,6 @@ check_func memalign ...@@ -1673,7 +1669,6 @@ check_func memalign
check_func mkstemp check_func mkstemp
check_func_headers windows.h GetProcessTimes check_func_headers windows.h GetProcessTimes
check_header byteswap.h
check_header conio.h check_header conio.h
check_header dlfcn.h check_header dlfcn.h
check_header malloc.h check_header malloc.h
......
...@@ -30,10 +30,6 @@ ...@@ -30,10 +30,6 @@
#include "config.h" #include "config.h"
#include "common.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) static av_always_inline av_const uint16_t bswap_16(uint16_t x)
{ {
#if defined(ARCH_X86) #if defined(ARCH_X86)
...@@ -108,8 +104,6 @@ static inline uint64_t av_const bswap_64(uint64_t x) ...@@ -108,8 +104,6 @@ static inline uint64_t av_const bswap_64(uint64_t x)
#endif #endif
} }
#endif /* !HAVE_BYTESWAP_H */
// be2me ... BigEndian to MachineEndian // be2me ... BigEndian to MachineEndian
// le2me ... LittleEndian to MachineEndian // le2me ... LittleEndian to MachineEndian
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment