зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1563728 - Add a return statement to BiquadFilterNode::GetFrequencyResponse to fix bustage. rs=padenot
CLOSED TREE
This commit is contained in:
Родитель
42ce0fc8e5
Коммит
1a39c45ae2
|
@ -311,6 +311,7 @@ void BiquadFilterNode::GetFrequencyResponse(const Float32Array& aFrequencyHz,
|
||||||
if (!(aFrequencyHz.Length() == aMagResponse.Length() &&
|
if (!(aFrequencyHz.Length() == aMagResponse.Length() &&
|
||||||
aMagResponse.Length() == aPhaseResponse.Length())) {
|
aMagResponse.Length() == aPhaseResponse.Length())) {
|
||||||
aRv.Throw(NS_ERROR_DOM_INVALID_ACCESS_ERR);
|
aRv.Throw(NS_ERROR_DOM_INVALID_ACCESS_ERR);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t length = aFrequencyHz.Length();
|
uint32_t length = aFrequencyHz.Length();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче