summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2002-05-25 22:36:01 +0000
committerFabrice Bellard <fabrice@bellard.org>2002-05-25 22:36:01 +0000
commitb17c92d10e8b5d6b6846444db08bfd4f89c74af8 (patch)
tree41949107ab5068bd5305ec82195cb84af04d5217
parent19720f15fd30a0f81c56989e1faf4ff6058793f3 (diff)
moved in libavcodec
Originally committed as revision 594 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/bswap.h (renamed from bswap.h)7
1 files changed, 1 insertions, 6 deletions
diff --git a/bswap.h b/libavcodec/bswap.h
index 21ef3a74eb..af80e507f6 100644
--- a/bswap.h
+++ b/libavcodec/bswap.h
@@ -1,15 +1,10 @@
#ifndef __BSWAP_H__
#define __BSWAP_H__
-/* It's need for ffmpeg. Else where will be defined ARCH_X86?*/
-#include "config.h"
-
#ifdef HAVE_BYTESWAP_H
#include <byteswap.h>
#else
-#include <inttypes.h>
-
#ifdef ARCH_X86
inline static unsigned short ByteSwap16(unsigned short x)
{
@@ -88,4 +83,4 @@ inline static unsigned long long int ByteSwap64(unsigned long long int x)
#define le2me_64(x) (x)
#endif
-#endif
+#endif /* __BSWAP_H__ */