mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
Null check the right pointer in RecvReadback
This commit is contained in:
parent
edf010898f
commit
46621ae3e3
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ VideoDecoderManagerParent::RecvReadback(const SurfaceDescriptorGPUVideo& aSD, Su
|
|||
}
|
||||
|
||||
RefPtr<SourceSurface> source = image->GetAsSourceSurface();
|
||||
if (!image) {
|
||||
if (!source) {
|
||||
*aResult = null_t();
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue