Changeset 196083 in webkit
- Timestamp:
- Feb 3, 2016 2:59:39 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r196082 r196083 1 2016-02-03 Jer Noble <jer.noble@apple.com> 2 3 [EME][Mac] MediaKeys.createSession() fails with initData containing a contentId whose length is > 1/2 the initData. 4 https://bugs.webkit.org/show_bug.cgi?id=153517 5 <rdar://problem/24303782> 6 7 Reviewed by Eric Carlson. 8 9 The length of contentId is given in bytes, not Uint16 characters. Use the former when extracting 10 the contentId string from the initData. 11 12 * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: 13 (WebCore::MediaPlayerPrivateAVFoundation::extractKeyURIKeyIDAndCertificateFromInitData): 14 1 15 2016-02-03 Jer Noble <jer.noble@apple.com> 2 16 -
trunk/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp
r195951 r196083 1043 1043 return false; 1044 1044 1045 RefPtr<Uint 16Array> keyIDArray = Uint16Array::create(initDataBuffer, offset, keyIDLength);1045 RefPtr<Uint8Array> keyIDArray = Uint8Array::create(initDataBuffer, offset, keyIDLength); 1046 1046 if (!keyIDArray) 1047 1047 return false;
Note: See TracChangeset
for help on using the changeset viewer.