Bug 1563728 - Add a return statement to BiquadFilterNode::GetFrequencyResponse to fix bustage. rs=padenot

CLOSED TREE
This commit is contained in:
Emilio Cobos Álvarez 2019-07-06 10:44:45 +02:00
Родитель 42ce0fc8e5
Коммит 1a39c45ae2
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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();