diff options
Diffstat (limited to 'src/pcm_pack.c')
-rw-r--r-- | src/pcm_pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_pack.c b/src/pcm_pack.c index aa241f437..921d880c0 100644 --- a/src/pcm_pack.c +++ b/src/pcm_pack.c @@ -59,7 +59,7 @@ unpack_sample(int32_t *dest0, const uint8_t *src) *dest++ = *src++; *dest++ = *src; - if (G_BYTE_ORDER != G_LITTLE_ENDIAN) + if (G_BYTE_ORDER == G_LITTLE_ENDIAN) /* extend the sign bit to the most fourth byte */ *dest++ = *src & 0x80 ? 0xff : 0x00; } |