Commit 60c39418 authored by Sam Lantinga's avatar Sam Lantinga

indent

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403345
parent 03fa1566
...@@ -1679,7 +1679,8 @@ SDL_BuildWindowedSinc(SDL_AudioCVT * cvt, SDL_AudioFormat format, ...@@ -1679,7 +1679,8 @@ SDL_BuildWindowedSinc(SDL_AudioCVT * cvt, SDL_AudioFormat format,
} }
/* !!! FIXME: this memory leaks. */ /* !!! FIXME: this memory leaks. */
cvt->coeff = (Uint8 *) SDL_malloc((SDL_AUDIO_BITSIZE(format) / 8) * (m+1)); cvt->coeff =
(Uint8 *) SDL_malloc((SDL_AUDIO_BITSIZE(format) / 8) * (m + 1));
if (cvt->coeff == NULL) { if (cvt->coeff == NULL) {
return -1; return -1;
} }
...@@ -1706,7 +1707,8 @@ SDL_BuildWindowedSinc(SDL_AudioCVT * cvt, SDL_AudioFormat format, ...@@ -1706,7 +1707,8 @@ SDL_BuildWindowedSinc(SDL_AudioCVT * cvt, SDL_AudioFormat format,
/* Initialize the state buffer to all zeroes, and set initial position */ /* Initialize the state buffer to all zeroes, and set initial position */
/* !!! FIXME: this memory leaks. */ /* !!! FIXME: this memory leaks. */
cvt->state_buf = (Uint8 *) SDL_malloc(cvt->len_sinc * SDL_AUDIO_BITSIZE(format) / 4); cvt->state_buf =
(Uint8 *) SDL_malloc(cvt->len_sinc * SDL_AUDIO_BITSIZE(format) / 4);
if (cvt->state_buf == NULL) { if (cvt->state_buf == NULL) {
return -1; return -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment