diff options
author | Ramiro Polla <ramiro@lisha.ufsc.br> | 2007-04-26 08:15:39 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2007-04-26 08:15:39 +0000 |
commit | 853d15c2f886343297a6e31ad66a5c8e718bcc01 (patch) | |
tree | 5eb044cefcddf7d24ed2fd511f948531a753d03b /libavutil | |
parent | 784b7f77c8eedc8095cf67c559d52365915b0637 (diff) | |
download | ffmpeg-streaming-853d15c2f886343297a6e31ad66a5c8e718bcc01.zip ffmpeg-streaming-853d15c2f886343297a6e31ad66a5c8e718bcc01.tar.gz |
make 2 functions "return x;" to simplify next patch
patch by Ramiro Polla ramiro lisha ufsc br
Originally committed as revision 8822 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/bswap.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavutil/bswap.h b/libavutil/bswap.h index 8ef01b2..4280f80 100644 --- a/libavutil/bswap.h +++ b/libavutil/bswap.h @@ -111,7 +111,8 @@ static inline uint64_t bswap_64(uint64_t x) #else static av_always_inline uint16_t bswap_16(uint16_t x){ - return (x>>8) | (x<<8); + x= (x>>8) | (x<<8); + return x; } #ifdef ARCH_ARM @@ -140,7 +141,8 @@ static av_always_inline uint32_t bswap_32(uint32_t x){ #else static av_always_inline uint32_t bswap_32(uint32_t x){ x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF); - return (x>>16) | (x<<16); + x= (x>>16) | (x<<16); + return x; } #endif |