Changeset 243575 in webkit
- Timestamp:
- Mar 27, 2019, 4:43:46 PM (7 years ago)
- Location:
- branches/safari-607-branch/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/cv/VideoTextureCopierCV.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-607-branch/Source/WebCore/ChangeLog
r243574 r243575 1 2019-03-27 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r242946. rdar://problem/49308005 4 5 Certain videos are causing a crash when used as WebGL texture 6 https://bugs.webkit.org/show_bug.cgi?id=195700 7 <rdar://problem/48869347> 8 9 Reviewed by Eric Carlson. 10 11 CFEqual is not null-safe, so perform a null and type check before comparing. 12 13 * platform/graphics/cv/VideoTextureCopierCV.cpp: 14 (WebCore::transferFunctionFromString): 15 16 17 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242946 268f45cc-cd09-0410-ab3c-d52691b4dbfc 18 19 2019-03-14 Jer Noble <jer.noble@apple.com> 20 21 Certain videos are causing a crash when used as WebGL texture 22 https://bugs.webkit.org/show_bug.cgi?id=195700 23 <rdar://problem/48869347> 24 25 Reviewed by Eric Carlson. 26 27 CFEqual is not null-safe, so perform a null and type check before comparing. 28 29 * platform/graphics/cv/VideoTextureCopierCV.cpp: 30 (WebCore::transferFunctionFromString): 31 1 32 2019-03-27 Alan Coon <alancoon@apple.com> 2 33 -
branches/safari-607-branch/Source/WebCore/platform/graphics/cv/VideoTextureCopierCV.cpp
r233122 r243575 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.