summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authormdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-03 03:49:57 +0000
committermdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-03 03:49:57 +0000
commit353deccede2275ac102abdb25ba166177bfcadfc (patch)
treeb68ec48f73c21ad6f01dc29c4ea1149c11fa6707 /media
parent98171ab788d225da03696568f4f402ab155f89f6 (diff)
downloadchromium_src-353deccede2275ac102abdb25ba166177bfcadfc.zip
chromium_src-353deccede2275ac102abdb25ba166177bfcadfc.tar.gz
chromium_src-353deccede2275ac102abdb25ba166177bfcadfc.tar.bz2
Fix an uninitialized variable compiler warning on some systems.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6677123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80279 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r--media/filters/adaptive_demuxer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/filters/adaptive_demuxer.cc b/media/filters/adaptive_demuxer.cc
index c277898..0267c11 100644
--- a/media/filters/adaptive_demuxer.cc
+++ b/media/filters/adaptive_demuxer.cc
@@ -27,7 +27,7 @@ void AdaptiveDemuxerStream::DCheckSanity() {
DCHECK(streams_[current_stream_index_].get());
bool non_null_stream_seen = false;
- Type type;
+ Type type = DemuxerStream::UNKNOWN;
const MediaFormat* media_format = NULL;
for (size_t i = 0; i < streams_.size(); ++i) {
if (!streams_[i])