Bug 1265093: Fix CID 1358648. r=gerald
authorJean-Yves Avenard <jyavenard@mozilla.com>
Wed, 20 Apr 2016 16:18:01 +1000
changeset 331874 e6fa15a5e1d7699fc95f6e66256de4e04c3e9ff5
parent 331873 b432a1067fe7b484e318da41d2de795a0e1c17b2
child 331875 f2d195c7313f2c58f5a4bf6d6614adf0ef53b275
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgerald
bugs1265093, 1358648
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1265093: Fix CID 1358648. r=gerald MozReview-Commit-ID: 2GbzSvZ57TF
dom/media/MediaInfo.h
--- a/dom/media/MediaInfo.h
+++ b/dom/media/MediaInfo.h
@@ -540,16 +540,17 @@ public:
     ChannelLayout()
       : mChannelMap(0)
       , mValid(false)
     {}
     explicit ChannelLayout(uint32_t aChannels)
       : ChannelLayout(aChannels, SMPTEDefault(aChannels))
     {}
     ChannelLayout(uint32_t aChannels, const Channel* aConfig)
+      : ChannelLayout()
     {
       if (!aConfig) {
         mValid = false;
         return;
       }
       mChannels.AppendElements(aConfig, aChannels);
       UpdateChannelMap();
     }