moved in libavcodec
authorFabrice Bellard <fabrice@bellard.org>
Sat, 25 May 2002 22:36:01 +0000 (22:36 +0000)
committerFabrice Bellard <fabrice@bellard.org>
Sat, 25 May 2002 22:36:01 +0000 (22:36 +0000)
Originally committed as revision 594 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/bswap.h [moved from bswap.h with 94% similarity]

similarity index 94%
rename from bswap.h
rename to libavcodec/bswap.h
index 21ef3a7..af80e50 100644 (file)
--- a/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__ */