Removed usage of the deprecated critical section constructor in modules/utility.
Review URL: http://webrtc-codereview.appspot.com/321006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1223 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -464,7 +464,7 @@ VideoFilePlayerImpl::VideoFilePlayerImpl(WebRtc_UWord32 instanceID,
|
||||
_decodedVideoFrames(0),
|
||||
_encodedData(*new EncodedVideoData()),
|
||||
_frameScaler(*new FrameScaler()),
|
||||
_critSec(*CriticalSectionWrapper::CreateCriticalSection()),
|
||||
_critSec(CriticalSectionWrapper::CreateCriticalSection()),
|
||||
_accumulatedRenderTimeMs(0),
|
||||
_numberOfFramesRead(0),
|
||||
_videoOnly(false)
|
||||
@@ -474,7 +474,7 @@ VideoFilePlayerImpl::VideoFilePlayerImpl(WebRtc_UWord32 instanceID,
|
||||
|
||||
VideoFilePlayerImpl::~VideoFilePlayerImpl()
|
||||
{
|
||||
delete &_critSec;
|
||||
delete _critSec;
|
||||
delete &_frameScaler;
|
||||
delete &_videoDecoder;
|
||||
delete &_encodedData;
|
||||
|
||||
Reference in New Issue
Block a user