mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1156472 - Part 8 - Use fatal asserts in AudioChannelUpmix, because it would have crashed anyways. r=roc
This commit is contained in:
parent
34b850bb2c
commit
a003e51bd4
@ -76,8 +76,8 @@ AudioChannelsUpMix(nsTArray<const void*>* aChannelArray,
|
||||
GetAudioChannelsSuperset(aOutputChannelCount, inputChannelCount);
|
||||
NS_ASSERTION(outputChannelCount > inputChannelCount,
|
||||
"No up-mix needed");
|
||||
NS_ASSERTION(inputChannelCount > 0, "Bad number of channels");
|
||||
NS_ASSERTION(outputChannelCount > 0, "Bad number of channels");
|
||||
MOZ_ASSERT(inputChannelCount > 0, "Bad number of channels");
|
||||
MOZ_ASSERT(outputChannelCount > 0, "Bad number of channels");
|
||||
|
||||
aChannelArray->SetLength(outputChannelCount);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user