Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setSampleBufferAsDisplayImmediately should check that attachment arra…
…y is not null https://bugs.webkit.org/show_bug.cgi?id=262556 rdar://115712997 Reviewed by Brent Fulgham. CMSampleBufferGetSampleAttachmentsArray may return a null attachment array even if createIfNecessary = true, in case of error. In that case, make sure setSampleBufferAsDisplayImmediately bails out early. * Source/WebCore/platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.mm: (WebCore::setSampleBufferAsDisplayImmediately): Canonical link: https://commits.webkit.org/268802@main
- Loading branch information