mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Fixed SDL_ConvertMonoToStereo_SSE reading out of bounds
This commit is contained in:
parent
255c3b7c82
commit
1ee2832326
1 changed files with 2 additions and 2 deletions
|
|
@ -189,8 +189,8 @@ static void SDL_TARGETING("sse") SDL_ConvertMonoToStereo_SSE(float *dst, const f
|
|||
int i = num_frames;
|
||||
|
||||
/* convert backwards, since output is growing in-place. */
|
||||
src += (num_frames-1) * 1;
|
||||
dst += (num_frames-1) * 2;
|
||||
src += (num_frames-4) * 1;
|
||||
dst += (num_frames-4) * 2;
|
||||
|
||||
LOG_DEBUG_AUDIO_CONVERT("mono", "stereo (using SSE)");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue