SDL bug

The current CVS snapshot dumps core if you call SDL_OpenAudio() and
SDL_AudioSpec.channels is set to 0. (I know, this is not a reasonable
thing to do, but crashing isn’t either :wink:

–daniel

The current CVS snapshot dumps core if you call SDL_OpenAudio() and
SDL_AudioSpec.channels is set to 0. (I know, this is not a reasonable
thing to do, but crashing isn’t either :wink:

Fixed!

Thanks,
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec