Title: [225000] trunk/Source/WebCore
Revision
225000
Author
[email protected]
Date
2017-11-17 16:48:55 -0800 (Fri, 17 Nov 2017)

Log Message

[Win] Compile error in InbandTextTrackPrivateAVCF::readNativeSampleBuffer.
https://bugs.webkit.org/show_bug.cgi?id=179845

Reviewed by Jer Noble.

* platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp:
(WebCore::InbandTextTrackPrivateAVCF::readNativeSampleBuffer):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (224999 => 225000)


--- trunk/Source/WebCore/ChangeLog	2017-11-18 00:22:38 UTC (rev 224999)
+++ trunk/Source/WebCore/ChangeLog	2017-11-18 00:48:55 UTC (rev 225000)
@@ -1,3 +1,13 @@
+2017-11-17  Per Arne Vollan  <[email protected]>
+
+        [Win] Compile error in InbandTextTrackPrivateAVCF::readNativeSampleBuffer.
+        https://bugs.webkit.org/show_bug.cgi?id=179845
+
+        Reviewed by Jer Noble.
+
+        * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp:
+        (WebCore::InbandTextTrackPrivateAVCF::readNativeSampleBuffer):
+
 2017-11-17  Chris Fleizach  <[email protected]>
 
         AX: VoiceOver in Safari does not read table header for first cell in first body row

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp (224999 => 225000)


--- trunk/Source/WebCore/platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp	2017-11-18 00:22:38 UTC (rev 224999)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.cpp	2017-11-18 00:48:55 UTC (rev 225000)
@@ -198,7 +198,7 @@
     formatDescription = sampleBuffer->formatDescription;
 
     size_t bufferLength = CFDataGetLength(sampleBuffer->buffer);
-    if (bufferLength < ISOBox::boxHeaderSize()) {
+    if (bufferLength < ISOBox::minimumBoxSize()) {
         LOG(Media, "InbandTextTrackPrivateLegacyAVCF::readNativeSampleBuffer(%p) - ERROR: CFBuffer size length unexpectedly small (%zu)!!", this, bufferLength);
         return false;
     }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to