Fixing IsZeroSize call
Review URL: https://webrtc-codereview.appspot.com/940004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3001 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
a3ae6dc846
commit
a5d4c31735
@ -485,7 +485,7 @@ WebRtc_Word32 AviRecorder::SetUpVideoEncoder()
|
||||
WebRtc_Word32 AviRecorder::RecordVideoToFile(const I420VideoFrame& videoFrame)
|
||||
{
|
||||
CriticalSectionScoped lock(_critSec);
|
||||
if(!IsRecording() || !videoFrame.IsZeroSize())
|
||||
if(!IsRecording() || videoFrame.IsZeroSize())
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user