diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-07 10:06:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-07 10:06:28 +0400 |
commit | c530661db21ce882d4b5ef16d64ed5fc8f469761 (patch) | |
tree | f9e26f96bcd61409c94fc577087273ab198b1d94 /source/blender/blenlib | |
parent | a17e39476cf3d7bc7724e5d259d0c3572cdb08dc (diff) |
patch [#32556] Stupid endian conversion in avi format
from Andreas Schwab (schwab)
modified to use code from BLI_endian_switch.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_endian_switch_inline.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_endian_switch_inline.h b/source/blender/blenlib/BLI_endian_switch_inline.h index 6694276a995..948d462fde4 100644 --- a/source/blender/blenlib/BLI_endian_switch_inline.h +++ b/source/blender/blenlib/BLI_endian_switch_inline.h @@ -40,7 +40,7 @@ BLI_INLINE void BLI_endian_switch_int16(short *val) { short tval = *val; *val = (tval >> 8) | - (tval << 8); + (tval << 8); } BLI_INLINE void BLI_endian_switch_uint16(unsigned short *val) |