Mercurial > SDL_sound_CoreAudio
diff decoders/skeleton.c @ 21:d9b9d60cf9a9
Added some helpful info to FMT_open()...
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 19 Sep 2001 08:30:46 +0000 |
parents | 3efbcaf36fec |
children | ea58bc3b15d7 |
line wrap: on
line diff
--- a/decoders/skeleton.c Wed Sep 19 08:30:14 2001 +0000 +++ b/decoders/skeleton.c Wed Sep 19 08:30:46 2001 +0000 @@ -64,6 +64,9 @@ static int FMT_open(Sound_Sample *sample, const char *ext) { + Sound_SampleInternal *internal = (Sound_SampleInternal *) sample->opaque; + SDL_RWops *rw = internal->rw; + if (can NOT accept the data) { Sound_SetError("FMT: expected X, got Y.");