xbmc/xbmc — pull request #2748 by bobo1on1 (2013-05-14 10:32:29+00:00)
Title: float to 32 bit multiply

The change is trivial, but I'm doing this as a pull request since I can't test this on my ancient hardware, and I don't have a running platform with ARM neon support.

fixed: when doing a format conversion from float to 32 bit int, multiply with INT32_MAX - 127, since this is the maximum value that can be stored in 32 bit float and int, if INT32_MAX gets converted to float, it gets rounded to INT32_MAX + 1 which can cause wrap around distortion