Mercurial > SDL_sound_CoreAudio
changeset 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 | d4ac6ce1360e |
children | f6e679afe88b |
files | decoders/skeleton.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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.");