mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
Bug 1216059 - SourceMediaStream::TrackData::mResamplerChannelCount is used uninitialised. r=padenot.
--HG-- extra : rebase_source : fa2d5d6482960bcef66c6d1fc5a1ae7076ed2e34
This commit is contained in:
parent
60f58fbb1a
commit
214a7d0bfc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user