Title: [277905] trunk/Source/WebCore
Revision
277905
Author
wei...@apple.com
Date
2021-05-21 19:07:17 -0700 (Fri, 21 May 2021)

Log Message

All Netflix playback fails after r277740
https://bugs.webkit.org/show_bug.cgi?id=226120
<rdar://problem/78333782>

Reviewed by Eric Carlson.

* platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm:
(WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::updateLicense):
Add missing !.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (277904 => 277905)


--- trunk/Source/WebCore/ChangeLog	2021-05-22 01:53:38 UTC (rev 277904)
+++ trunk/Source/WebCore/ChangeLog	2021-05-22 02:07:17 UTC (rev 277905)
@@ -1,3 +1,15 @@
+2021-05-21  Sam Weinig  <wei...@apple.com>
+
+        All Netflix playback fails after r277740
+        https://bugs.webkit.org/show_bug.cgi?id=226120
+        <rdar://problem/78333782>
+
+        Reviewed by Eric Carlson.
+
+        * platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm:
+        (WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::updateLicense):
+        Add missing !.
+
 2021-05-21  Chris Dumez  <cdu...@apple.com>
 
         Use CheckedCondition in more places

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm (277904 => 277905)


--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm	2021-05-22 01:53:38 UTC (rev 277904)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm	2021-05-22 02:07:17 UTC (rev 277905)
@@ -851,7 +851,7 @@
                 return false;
 
             auto keyIDVector = base64Decode(keyIDString);
-            if (keyIDVector)
+            if (!keyIDVector)
                 return false;
 
             auto keyID = SharedBuffer::create(WTFMove(*keyIDVector));
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to