Changeset 242946 in webkit
- Timestamp:
- Mar 14, 2019, 11:22:04 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/cv/VideoTextureCopierCV.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r242943 r242946 1 2019-03-14 Jer Noble <jer.noble@apple.com> 2 3 Certain videos are causing a crash when used as WebGL texture 4 https://bugs.webkit.org/show_bug.cgi?id=195700 5 <rdar://problem/48869347> 6 7 Reviewed by Eric Carlson. 8 9 CFEqual is not null-safe, so perform a null and type check before comparing. 10 11 * platform/graphics/cv/VideoTextureCopierCV.cpp: 12 (WebCore::transferFunctionFromString): 13 1 14 2019-03-14 Zalan Bujtas <zalan@apple.com> 2 15 -
trunk/Source/WebCore/platform/graphics/cv/VideoTextureCopierCV.cpp
r233122 r242946 100 100 static TransferFunction transferFunctionFromString(CFStringRef string) 101 101 { 102 if (!string || CFGetTypeID(string) != CFStringGetTypeID()) 103 return TransferFunction::Unknown; 102 104 if (CFEqual(string, kCVImageBufferYCbCrMatrix_ITU_R_709_2)) 103 105 return TransferFunction::kITU_R_709_2;
Note:
See TracChangeset
for help on using the changeset viewer.