xbmc/xbmc — pull request #988 by anssih (2012-05-20 21:26:21+00:00)
Title: [AE] Fix float-to-S24NE3 conversion on little-endian systems

Fix the float-to-S24NE3 conversion to work on normal little-endian systems. Currently it produces only static.

The SSE version seems to be broken in other ways as well, and this fix is not enough to make it work, so the second commit disables it. It also looks a bit suspicious, does it not overflow the destination buffer? (if I interpreted _aligned_malloc() correctly, we can count on there being only a single extra byte past end of buffer - which is also written to by the non-SSE code)