Title: [150153] trunk/Source/WebCore
- Revision
- 150153
- Author
- [email protected]
- Date
- 2013-05-15 15:38:52 -0700 (Wed, 15 May 2013)
Log Message
[Mac] media engine may deliver NULL in-band "cue"
https://bugs.webkit.org/show_bug.cgi?id=116180
Reviewed by Jer Noble.
* platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp:
(WebCore::InbandTextTrackPrivateAVF::processCue): NULL check before logging cue count.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (150152 => 150153)
--- trunk/Source/WebCore/ChangeLog 2013-05-15 22:01:35 UTC (rev 150152)
+++ trunk/Source/WebCore/ChangeLog 2013-05-15 22:38:52 UTC (rev 150153)
@@ -1,3 +1,13 @@
+2013-05-15 Eric Carlson <[email protected]>
+
+ [Mac] media engine may deliver NULL in-band "cue"
+ https://bugs.webkit.org/show_bug.cgi?id=116180
+
+ Reviewed by Jer Noble.
+
+ * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp:
+ (WebCore::InbandTextTrackPrivateAVF::processCue): NULL check before logging cue count.
+
2013-05-15 Darin Adler <[email protected]>
List platforms that still use the legacy clipboard instead of just saying "not Mac"
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp (150152 => 150153)
--- trunk/Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp 2013-05-15 22:01:35 UTC (rev 150152)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp 2013-05-15 22:38:52 UTC (rev 150153)
@@ -346,7 +346,7 @@
if (!client())
return;
- LOG(Media, "InbandTextTrackPrivateAVF::processCue - %li cues at time %.2f\n", CFArrayGetCount(attributedStrings), time);
+ LOG(Media, "InbandTextTrackPrivateAVF::processCue - %li cues at time %.2f\n", attributedStrings ? CFArrayGetCount(attributedStrings) : 0, time);
if (m_pendingCueStatus != None) {
// Cues do not have an explicit duration, they are displayed until the next "cue" (which might be empty) is emitted.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes