src/audio/SDL_wave.c
changeset 8820 0e935d5b193a
parent 8149 681eb46b8ac4
child 8831 9326ec96c132
equal deleted inserted replaced
8819:728adb496260 8820:0e935d5b193a
   491             goto done;
   491             goto done;
   492         }
   492         }
   493         IMA_ADPCM_encoded = 1;
   493         IMA_ADPCM_encoded = 1;
   494         break;
   494         break;
   495     case MP3_CODE:
   495     case MP3_CODE:
   496         SDL_SetError("MPEG Layer 3 data not supported",
   496         SDL_SetError("MPEG Layer 3 data not supported");
   497                      SDL_SwapLE16(format->encoding));
       
   498         was_error = 1;
   497         was_error = 1;
   499         goto done;
   498         goto done;
   500     default:
   499     default:
   501         SDL_SetError("Unknown WAVE data format: 0x%.4x",
   500         SDL_SetError("Unknown WAVE data format: 0x%.4x",
   502                      SDL_SwapLE16(format->encoding));
   501                      SDL_SwapLE16(format->encoding));