Use SDL_zerop instead of SDL_memset.

This commit is contained in:
Ryan C. Gordon 2008-12-19 06:43:41 +00:00
parent 59c33d9a0b
commit 809690101a

View File

@ -1836,7 +1836,7 @@ SDL_BuildAudioCVT(SDL_AudioCVT * cvt,
#endif
/* Start off with no conversion necessary */
SDL_memset(cvt, '\0', sizeof (SDL_AudioCVT));
SDL_zerop(cvt);
cvt->src_format = src_fmt;
cvt->dst_format = dst_fmt;
cvt->needed = 0;