src/audio/SDL_wave.c
changeset 6409 b85e863a507e
parent 6389 43a190ad60a7
child 6885 700f1b25f77f
equal deleted inserted replaced
6408:6fb90a109d83 6409:b85e863a507e
   420     Uint32 headerDiff = 0;
   420     Uint32 headerDiff = 0;
   421 
   421 
   422     /* FMT chunk */
   422     /* FMT chunk */
   423     WaveFMT *format = NULL;
   423     WaveFMT *format = NULL;
   424 
   424 
       
   425     SDL_zero(chunk);
       
   426 
   425     /* Make sure we are passed a valid data source */
   427     /* Make sure we are passed a valid data source */
   426     was_error = 0;
   428     was_error = 0;
   427     if (src == NULL) {
   429     if (src == NULL) {
   428         was_error = 1;
   430         was_error = 1;
   429         goto done;
   431         goto done;