Fixed SDL_ConvertMonoToStereo_SSE reading out of bounds
parent
255c3b7c82
commit
1ee2832326
|
@ -189,8 +189,8 @@ static void SDL_TARGETING("sse") SDL_ConvertMonoToStereo_SSE(float *dst, const f
|
||||||
int i = num_frames;
|
int i = num_frames;
|
||||||
|
|
||||||
/* convert backwards, since output is growing in-place. */
|
/* convert backwards, since output is growing in-place. */
|
||||||
src += (num_frames-1) * 1;
|
src += (num_frames-4) * 1;
|
||||||
dst += (num_frames-1) * 2;
|
dst += (num_frames-4) * 2;
|
||||||
|
|
||||||
LOG_DEBUG_AUDIO_CONVERT("mono", "stereo (using SSE)");
|
LOG_DEBUG_AUDIO_CONVERT("mono", "stereo (using SSE)");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue