summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg-devel/files/patch-libavcodec::bswap.h
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2003-03-29 09:53:18 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2003-03-29 09:53:18 +0000
commit2c36078d184e6b3fde44793800a6c8ca0b0639f1 (patch)
tree19d35773be783fd6761833f599af82301c20ceac /multimedia/ffmpeg-devel/files/patch-libavcodec::bswap.h
parentReorder the 'configure-message patch-libtool' targets in _CONFIGURE_SEQ (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_8_0'.release/4.8.0
Notes
Notes: svn path=/head/; revision=77676 svn path=/tags/RELEASE_4_8_0/; revision=77677; tag=release/4.8.0
Diffstat (limited to 'multimedia/ffmpeg-devel/files/patch-libavcodec::bswap.h')
-rw-r--r--multimedia/ffmpeg-devel/files/patch-libavcodec::bswap.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/multimedia/ffmpeg-devel/files/patch-libavcodec::bswap.h b/multimedia/ffmpeg-devel/files/patch-libavcodec::bswap.h
deleted file mode 100644
index 7205d7e7a87b..000000000000
--- a/multimedia/ffmpeg-devel/files/patch-libavcodec::bswap.h
+++ /dev/null
@@ -1,41 +0,0 @@
---- libavcodec/bswap.h.orig Sun Nov 3 04:51:51 2002
-+++ libavcodec/bswap.h Sun Nov 3 04:53:30 2002
-@@ -5,6 +5,14 @@
- #include <byteswap.h>
- #else
-
-+#if (defined(__unix__) || defined(unix)) && !defined(USG)
-+#include <sys/param.h>
-+#endif
-+
-+#if defined(__FreeBSD__) && __FreeBSD_version >= 470000
-+#include <sys/endian.h>
-+#endif
-+
- #ifdef ARCH_X86
- inline static unsigned short ByteSwap16(unsigned short x)
- {
-@@ -13,7 +21,11 @@
- "0" (x));
- return x;
- }
-+#if defined(__FreeBSD__) && __FreeBSD_version >= 470000
-+#define bswap_16(x) (be16toh(x))
-+#else
- #define bswap_16(x) ByteSwap16(x)
-+#endif
-
- inline static unsigned int ByteSwap32(unsigned int x)
- {
-@@ -29,7 +41,11 @@
- "0" (x));
- return x;
- }
-+#if defined(__FreeBSD__) && __FreeBSD_version >= 470000
-+#define bswap_32(x) (be32toh(x))
-+#else
- #define bswap_32(x) ByteSwap32(x)
-+#endif
-
- inline static unsigned long long int ByteSwap64(unsigned long long int x)
- {