diff decoders/wav.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 c42ac9ee2ce4
line wrap: on
line diff
--- a/decoders/wav.c	Fri Jul 05 22:34:55 2002 +0000
+++ b/decoders/wav.c	Fri Jul 05 23:11:51 2002 +0000
@@ -647,8 +647,7 @@
         default:
             SNDDBG(("WAV: Format 0x%X is unknown.\n",
                     (unsigned int) fmt->wFormatTag));
-            Sound_SetError("WAV: Unsupported format");
-            return(0);  /* not supported whatsoever. */
+            BAIL_MACRO("WAV: Unsupported format", 0);
     } /* switch */
 
     assert(0);  /* shouldn't hit this point. */