aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_byteswap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm_byteswap.c')
-rw-r--r--src/pcm_byteswap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_byteswap.c b/src/pcm_byteswap.c
index 967c574cb..6577319d4 100644
--- a/src/pcm_byteswap.c
+++ b/src/pcm_byteswap.c
@@ -49,7 +49,7 @@ const int16_t *pcm_byteswap_16(struct pcm_buffer *buffer,
static inline uint32_t swab32(uint32_t x)
{
- return (x << 24) |
+ return (x << 24) |
((x & 0xff00) << 8) |
((x & 0xff0000) >> 8) |
(x >> 24);