summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-04-29 19:36:48 +0200
committerDiego Biurrun <diego@biurrun.de>2011-04-29 20:01:04 +0200
commite610098e7b3e4851e18c4f472adec4980f901ad2 (patch)
tree5ec620e39b5941e131b843f9ce052b4c2d72e4fe
parent2e15305b7088c9dfe1c8d29c248a9b49bcf0b0a3 (diff)
downloadffmpeg-e610098e7b3e4851e18c4f472adec4980f901ad2.tar.gz
bswap.h: Remove disabled code.
-rw-r--r--libavutil/bswap.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavutil/bswap.h b/libavutil/bswap.h
index c93825f6ee..3657ccd402 100644
--- a/libavutil/bswap.h
+++ b/libavutil/bswap.h
@@ -74,11 +74,6 @@ static av_always_inline av_const uint32_t av_bswap32(uint32_t x)
#ifndef av_bswap64
static inline uint64_t av_const av_bswap64(uint64_t x)
{
-#if 0
- x= ((x<< 8)&0xFF00FF00FF00FF00ULL) | ((x>> 8)&0x00FF00FF00FF00FFULL);
- x= ((x<<16)&0xFFFF0000FFFF0000ULL) | ((x>>16)&0x0000FFFF0000FFFFULL);
- return (x>>32) | (x<<32);
-#else
union {
uint64_t ll;
uint32_t l[2];
@@ -87,7 +82,6 @@ static inline uint64_t av_const av_bswap64(uint64_t x)
r.l[0] = av_bswap32 (w.l[1]);
r.l[1] = av_bswap32 (w.l[0]);
return r.ll;
-#endif
}
#endif