comparison decoders/modplug.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 51883cd1193e
children 53ce18591f5d
comparison
equal deleted inserted replaced
386:8c8ecd1008c9 387:fb519e6028e3
187 } /* for */ 187 } /* for */
188 188
189 if (!has_extension) 189 if (!has_extension)
190 { 190 {
191 SNDDBG(("MODPLUG: Unrecognized file type: %s\n", ext)); 191 SNDDBG(("MODPLUG: Unrecognized file type: %s\n", ext));
192 Sound_SetError("MODPLUG: Not a module file."); 192 BAIL_MACRO("MODPLUG: Not a module file.", 0);
193 return(0);
194 } /* if */ 193 } /* if */
195 194
196 /* 195 /*
197 * ModPlug needs the entire stream in one big chunk. I don't like it, 196 * ModPlug needs the entire stream in one big chunk. I don't like it,
198 * but I don't think there's any way around it. 197 * but I don't think there's any way around it.