This commit is contained in:
Glenn Maynard
2003-10-02 09:01:17 +00:00
parent f75058750a
commit eae3cc2ede
+1 -2
View File
@@ -535,8 +535,7 @@ int RageSoundReader_MP3::FindOffsetFix()
void RageSoundReader_MP3::synth_output() void RageSoundReader_MP3::synth_output()
{ {
if(this->Channels != 0 && if( MAD_NCHANNELS(&mad->Frame.header) != this->Channels )
MAD_NCHANNELS(&mad->Frame.header) != this->Channels)
{ {
/* This frame contains a different number of channels than the first. /* This frame contains a different number of channels than the first.
* I've never actually seen this--it's just to prevent exploding if * I've never actually seen this--it's just to prevent exploding if