Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-10-07 10:06:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-07 10:06:28 +0400
commitc530661db21ce882d4b5ef16d64ed5fc8f469761 (patch)
treef9e26f96bcd61409c94fc577087273ab198b1d94 /source/blender/blenlib/BLI_endian_switch_inline.h
parenta17e39476cf3d7bc7724e5d259d0c3572cdb08dc (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/BLI_endian_switch_inline.h')
-rw-r--r--source/blender/blenlib/BLI_endian_switch_inline.h2
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)