Skip to content

Commit

Permalink
Added some helpful info to FMT_open()...
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 19, 2001
1 parent 81346cf commit 82f7c7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions decoders/skeleton.c
Expand Up @@ -64,6 +64,9 @@ const Sound_DecoderFunctions __Sound_DecoderFunctions_FMT =

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.");
Expand Down

0 comments on commit 82f7c7c

Please sign in to comment.