src/audio/SDL_wave.c
branchSDL-1.3
changeset 1659 14717b52abc0
parent 1612 97d0966f4bf7
child 1662 782fd950bd46
child 1895 c121d94672cb
child 4158 96ce26f24b01
--- a/src/audio/SDL_wave.c	Mon May 01 06:58:33 2006 +0000
+++ b/src/audio/SDL_wave.c	Wed May 17 08:18:28 2006 +0000
@@ -478,6 +478,11 @@
 			}
 			IMA_ADPCM_encoded = 1;
 			break;
+		case MP3_CODE:
+			SDL_SetError("MPEG Layer 3 data not supported",
+					SDL_SwapLE16(format->encoding));
+			was_error = 1;
+			goto done;
 		default:
 			SDL_SetError("Unknown WAVE data format: 0x%.4x",
 					SDL_SwapLE16(format->encoding));