diff decoders/skeleton.c @ 387:fb519e6028e3

Changed all the Sound_SetError() calls to __Sound_SetError (or BAIL*_MACRO)
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 05 Jul 2002 23:11:51 +0000
parents cbb15ecf423a
children 50bb9a6cebfe
line wrap: on
line diff
--- a/decoders/skeleton.c	Fri Jul 05 22:34:55 2002 +0000
+++ b/decoders/skeleton.c	Fri Jul 05 23:11:51 2002 +0000
@@ -100,10 +100,7 @@
     SDL_RWops *rw = internal->rw;
 
     if (can NOT accept the data)
-    {
-        Sound_SetError("FMT: expected X, got Y.");
-        return(0);
-    } /* if */
+        BAIL_MACRO("FMT: expected X, got Y.", 0);
 
     SNDDBG(("FMT: Accepting data stream.\n"));
     set up sample->actual;