Title: [148555] trunk/Source/WebCore
- Revision
- 148555
- Author
- [email protected]
- Date
- 2013-04-16 15:35:53 -0700 (Tue, 16 Apr 2013)
Log Message
ASSERTION FAILED: i < size(), UNKNOWN in WebCore::ChannelMergerNode::process
https://bugs.webkit.org/show_bug.cgi?id=112657
Avoid to access input bus in checkNumberOfChannelsForInput() before the
bus is updated with AudioNode::checkNumberOfChannelsForInput().
Reviewed by Chris Rogers.
* Modules/webaudio/ChannelMergerNode.cpp:
(WebCore::ChannelMergerNode::checkNumberOfChannelsForInput):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (148554 => 148555)
--- trunk/Source/WebCore/ChangeLog 2013-04-16 22:35:05 UTC (rev 148554)
+++ trunk/Source/WebCore/ChangeLog 2013-04-16 22:35:53 UTC (rev 148555)
@@ -1,3 +1,16 @@
+2013-04-16 Wei James <[email protected]>
+
+ ASSERTION FAILED: i < size(), UNKNOWN in WebCore::ChannelMergerNode::process
+ https://bugs.webkit.org/show_bug.cgi?id=112657
+
+ Avoid to access input bus in checkNumberOfChannelsForInput() before the
+ bus is updated with AudioNode::checkNumberOfChannelsForInput().
+
+ Reviewed by Chris Rogers.
+
+ * Modules/webaudio/ChannelMergerNode.cpp:
+ (WebCore::ChannelMergerNode::checkNumberOfChannelsForInput):
+
2013-04-16 Ryosuke Niwa <[email protected]>
Even more Windows build fix and a Qt minimal build fix attempt.
Modified: trunk/Source/WebCore/Modules/webaudio/ChannelMergerNode.cpp (148554 => 148555)
--- trunk/Source/WebCore/Modules/webaudio/ChannelMergerNode.cpp 2013-04-16 22:35:05 UTC (rev 148554)
+++ trunk/Source/WebCore/Modules/webaudio/ChannelMergerNode.cpp 2013-04-16 22:35:53 UTC (rev 148555)
@@ -111,7 +111,7 @@
for (unsigned i = 0; i < numberOfInputs(); ++i) {
AudioNodeInput* input = this->input(i);
if (input->isConnected())
- numberOfOutputChannels += input->bus()->numberOfChannels();
+ numberOfOutputChannels += input->numberOfChannels();
}
// Set the correct number of channels on the output
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes