diff --git a/src/modules/utility/source/file_player_impl.cc b/src/modules/utility/source/file_player_impl.cc index f2162a66b..af7d615f3 100644 --- a/src/modules/utility/source/file_player_impl.cc +++ b/src/modules/utility/source/file_player_impl.cc @@ -64,10 +64,12 @@ FilePlayerImpl::FilePlayerImpl(const WebRtc_UWord32 instanceID, _fileFormat(fileFormat), _fileModule(*MediaFile::CreateMediaFile(instanceID)), _decodedLengthInMS(0), + _decodedAudioBuffer(), _audioDecoder(instanceID), _codec(), _numberOf10MsPerFrame(0), _numberOf10MsInDecoder(0), + _resampler(), _scaling(1.0) { _codec.plfreq = 0; @@ -466,11 +468,14 @@ VideoFilePlayerImpl::VideoFilePlayerImpl(WebRtc_UWord32 instanceID, FileFormats fileFormat) : FilePlayerImpl(instanceID,fileFormat), _videoDecoder(*new VideoCoder(instanceID)), + video_codec_info_(), _decodedVideoFrames(0), _encodedData(*new EncodedVideoData()), _frameScaler(*new FrameScaler()), _critSec(CriticalSectionWrapper::CreateCriticalSection()), + _startTime(), _accumulatedRenderTimeMs(0), + _frameLengthMS(0), _numberOfFramesRead(0), _videoOnly(false) { diff --git a/src/modules/utility/source/file_recorder_impl.cc b/src/modules/utility/source/file_recorder_impl.cc index 15a447237..1ae4f30fa 100644 --- a/src/modules/utility/source/file_recorder_impl.cc +++ b/src/modules/utility/source/file_recorder_impl.cc @@ -65,8 +65,12 @@ FileRecorderImpl::FileRecorderImpl(WebRtc_UWord32 instanceID, : _instanceID(instanceID), _fileFormat(fileFormat), _moduleFile(MediaFile::CreateMediaFile(_instanceID)), + _stream(NULL), + codec_info_(), _amrFormat(AMRFileStorage), - _audioEncoder(instanceID) + _audioBuffer(), + _audioEncoder(instanceID), + _audioResampler() { } @@ -353,7 +357,8 @@ class AudioFrameFileInfo const WebRtc_UWord16 audioSize, const WebRtc_UWord16 audioMS, const TickTime& playoutTS) - : _audioSize(audioSize), _audioMS(audioMS) ,_playoutTS(playoutTS) + : _audioData(), _audioSize(audioSize), _audioMS(audioMS), + _playoutTS(playoutTS) { if(audioSize > MAX_AUDIO_BUFFER_IN_BYTES) {