src/audio/SDL_wave.c
changeset 10257 f17581d00c26
parent 9998 f67cf37e9cd4
child 10737 3406a0f8b041
     1.1 --- a/src/audio/SDL_wave.c	Fri Aug 05 01:44:15 2016 -0400
     1.2 +++ b/src/audio/SDL_wave.c	Fri Aug 05 01:59:06 2016 -0400
     1.3 @@ -504,7 +504,7 @@
     1.4          was_error = 1;
     1.5          goto done;
     1.6      }
     1.7 -    SDL_memset(spec, 0, (sizeof *spec));
     1.8 +    SDL_zerop(spec);
     1.9      spec->freq = SDL_SwapLE32(format->frequency);
    1.10  
    1.11      if (IEEE_float_encoded) {