mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 917260 - Nullcheck Destination() in AudioContext::DestinationStream. r=ehsan
--HG-- extra : rebase_source : daec86b27d8497ba109ca998f0fccf3d6d7c3677
This commit is contained in:
parent
59a1f479b5
commit
bcf3bcf9e1
@ -495,7 +495,10 @@ AudioContext::Graph() const
|
||||
MediaStream*
|
||||
AudioContext::DestinationStream() const
|
||||
{
|
||||
return Destination()->Stream();
|
||||
if (Destination()) {
|
||||
return Destination()->Stream();
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
double
|
||||
|
Loading…
Reference in New Issue
Block a user