[webkit-changes] [WebKit/WebKit] 53867c: setSampleBufferAsDisplayImmediately should check t...
youennf
noreply at github.com
Tue Oct 3 14:28:16 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 53867c15edf342ba2ba13be830c6dbe04e44acc9
https://github.com/WebKit/WebKit/commit/53867c15edf342ba2ba13be830c6dbe04e44acc9
Author: Youenn Fablet <youennf at gmail.com>
Date: 2023-10-03 (Tue, 03 Oct 2023)
Changed paths:
M Source/WebCore/platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.mm
Log Message:
-----------
setSampleBufferAsDisplayImmediately should check that attachment array 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
More information about the webkit-changes
mailing list