summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-18 17:36:54 +0000
committerkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-18 17:36:54 +0000
commitc3a7bceb912a3c934724a31871a84991cdcf74c3 (patch)
tree8aaf6abdb8f1193e3967019410d2da20e33d7fb2 /media
parent9e8c2cc2dc661ca3b5275a2093281cf14ffaae2e (diff)
downloadchromium_src-c3a7bceb912a3c934724a31871a84991cdcf74c3.zip
chromium_src-c3a7bceb912a3c934724a31871a84991cdcf74c3.tar.gz
chromium_src-c3a7bceb912a3c934724a31871a84991cdcf74c3.tar.bz2
Coverity: Initialize data members in constructor.
CID=1634, 11587, 5007, 13234, 13398, 9295, 8294, 8285 BUG=none TEST=none Review URL: http://codereview.chromium.org/3817007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62945 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r--media/audio/audio_output_controller.cc3
-rw-r--r--media/filters/audio_renderer_algorithm_ola.cc1
2 files changed, 3 insertions, 1 deletions
diff --git a/media/audio/audio_output_controller.cc b/media/audio/audio_output_controller.cc
index 12bcf72..a6317be 100644
--- a/media/audio/audio_output_controller.cc
+++ b/media/audio/audio_output_controller.cc
@@ -39,7 +39,8 @@ AudioOutputController::AudioOutputController(EventHandler* handler,
state_(kEmpty),
buffer_(0, capacity),
pending_request_(false),
- sync_reader_(sync_reader) {
+ sync_reader_(sync_reader),
+ message_loop_(NULL) {
}
AudioOutputController::~AudioOutputController() {
diff --git a/media/filters/audio_renderer_algorithm_ola.cc b/media/filters/audio_renderer_algorithm_ola.cc
index 2d47c91..db0f348 100644
--- a/media/filters/audio_renderer_algorithm_ola.cc
+++ b/media/filters/audio_renderer_algorithm_ola.cc
@@ -24,6 +24,7 @@ const float kMaxRate = 4.0f;
AudioRendererAlgorithmOLA::AudioRendererAlgorithmOLA()
: input_step_(0),
output_step_(0),
+ crossfade_size_(0),
window_size_(0) {
}