diff options
author | Benoit Fouet <benoit.fouet@free.fr> | 2008-03-18 16:29:47 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2008-03-18 16:29:47 +0000 |
commit | 2119bb8f51d5cbf946d8e87974a2d95016133942 (patch) | |
tree | a4cfee50d5b37ab8020f1292b4041b4a26b857c9 /libavutil/bswap.h | |
parent | 6544f48f038552973a552401cea5d4e8f1fc9c0a (diff) | |
download | ffmpeg-2119bb8f51d5cbf946d8e87974a2d95016133942.tar.gz |
revert r12489.
Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/bswap.h')
-rw-r--r-- | libavutil/bswap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavutil/bswap.h b/libavutil/bswap.h index 49bcfbd82f..a49e6e2c0a 100644 --- a/libavutil/bswap.h +++ b/libavutil/bswap.h @@ -40,7 +40,7 @@ # define LEGACY_REGS "=q" #endif -static av_always_inline av_const uint16_t bswap_16(uint16_t x) +static av_always_inline uint16_t bswap_16(uint16_t x) { #if defined(ARCH_X86) __asm("rorw $8, %0" : @@ -54,7 +54,7 @@ static av_always_inline av_const uint16_t bswap_16(uint16_t x) return x; } -static av_always_inline av_const uint32_t bswap_32(uint32_t x) +static av_always_inline uint32_t bswap_32(uint32_t x) { #if defined(ARCH_X86) #ifdef HAVE_BSWAP @@ -93,7 +93,7 @@ static av_always_inline av_const uint32_t bswap_32(uint32_t x) return x; } -static inline uint64_t av_const bswap_64(uint64_t x) +static inline uint64_t bswap_64(uint64_t x) { #if 0 x= ((x<< 8)&0xFF00FF00FF00FF00ULL) | ((x>> 8)&0x00FF00FF00FF00FFULL); |