Bug 1216059 - SourceMediaStream::TrackData::mResamplerChannelCount is used uninitialised. r=padenot.

--HG--
extra : rebase_source : fa2d5d6482960bcef66c6d1fc5a1ae7076ed2e34
This commit is contained in:
Julian Seward 2015-10-20 12:01:08 +02:00
parent 60f58fbb1a
commit 214a7d0bfc

View File

@ -2112,6 +2112,7 @@ SourceMediaStream::AddTrackInternal(TrackID aID, TrackRate aRate, StreamTime aSt
TrackData* data = track_data->AppendElement();
data->mID = aID;
data->mInputRate = aRate;
data->mResamplerChannelCount = 0;
data->mStart = aStart;
data->mEndOfFlushedData = aStart;
data->mCommands = TRACK_CREATE;