From c39245b771e89b1a0ac5b391afca099b1a463f2b Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Sat, 6 Aug 2011 10:44:16 +0200 Subject: VIDEO: Remove incorrect TO_LE_16 calls from Bink audio code. --- video/bink_decoder.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'video/bink_decoder.cpp') diff --git a/video/bink_decoder.cpp b/video/bink_decoder.cpp index c60dbc29be..c02042f972 100644 --- a/video/bink_decoder.cpp +++ b/video/bink_decoder.cpp @@ -1538,13 +1538,13 @@ static inline int floatToInt16One(float src) { void BinkDecoder::floatToInt16Interleave(int16 *dst, const float **src, uint32 length, uint8 channels) { if (channels == 2) { for (uint32 i = 0; i < length; i++) { - dst[2 * i ] = TO_LE_16(floatToInt16One(src[0][i])); - dst[2 * i + 1] = TO_LE_16(floatToInt16One(src[1][i])); + dst[2 * i ] = floatToInt16One(src[0][i]); + dst[2 * i + 1] = floatToInt16One(src[1][i]); } } else { for(uint8 c = 0; c < channels; c++) for(uint32 i = 0, j = c; i < length; i++, j += channels) - dst[j] = TO_LE_16(floatToInt16One(src[c][i])); + dst[j] = floatToInt16One(src[c][i]); } } -- cgit v1.2.3