equal
deleted
inserted
replaced
322 } while ( (chunk.magic == FACT) || (chunk.magic == LIST) ); |
322 } while ( (chunk.magic == FACT) || (chunk.magic == LIST) ); |
323 |
323 |
324 /* Decode the audio data format */ |
324 /* Decode the audio data format */ |
325 format = (WaveFMT *)chunk.data; |
325 format = (WaveFMT *)chunk.data; |
326 if ( chunk.magic != FMT ) { |
326 if ( chunk.magic != FMT ) { |
327 SDL_free(chunk.data); |
|
328 Mix_SetError("Complex WAVE files not supported"); |
327 Mix_SetError("Complex WAVE files not supported"); |
329 was_error = 1; |
328 was_error = 1; |
330 goto done; |
329 goto done; |
331 } |
330 } |
332 switch (SDL_SwapLE16(format->encoding)) { |
331 switch (SDL_SwapLE16(format->encoding)) { |