src/audio/SDL_wave.c
changeset 6409 b85e863a507e
parent 6389 43a190ad60a7
child 6885 700f1b25f77f
--- a/src/audio/SDL_wave.c	Sun Aug 26 20:27:25 2012 -0400
+++ b/src/audio/SDL_wave.c	Thu Aug 30 12:58:58 2012 -0700
@@ -422,6 +422,8 @@
     /* FMT chunk */
     WaveFMT *format = NULL;
 
+    SDL_zero(chunk);
+
     /* Make sure we are passed a valid data source */
     was_error = 0;
     if (src == NULL) {