audio: changed some SDL_memset() calls to SDL_zero(), other minor corrections.

This commit is contained in:
Ryan C. Gordon
2016-08-05 01:59:06 -04:00
parent 979de761c9
commit 761a79788c
21 changed files with 34 additions and 39 deletions

View File

@@ -504,7 +504,7 @@ SDL_LoadWAV_RW(SDL_RWops * src, int freesrc,
was_error = 1;
goto done;
}
SDL_memset(spec, 0, (sizeof *spec));
SDL_zerop(spec);
spec->freq = SDL_SwapLE32(format->frequency);
if (IEEE_float_encoded) {