Dear:

As subject!

The following patch fixed the bug:

Index: ffmpeg_audio_decoder.cc
===================================================================
--- ffmpeg_audio_decoder.cc     (revision 20937)
+++ ffmpeg_audio_decoder.cc     (working copy)
@@ -108,6 +108,7 @@
   // If we have decoded something, enqueue the result.
   if (output_buffer_size) {
     DataBuffer* result_buffer = new DataBuffer(output_buffer_size);
+    result_buffer->SetDataSize(output_buffer_size);
     uint8* data = result_buffer->GetWritableData();
     memcpy(data, output_buffer, output_buffer_size);

-- 
-----------------------------------------------------------------------------------------
My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2
Inspired by http://www.nextplayer.net. Your potential. Our passion.

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Attachment: fix_audio_size_in_DataBuffer.diff
Description: Binary data

Reply via email to