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:
mikhal@webrtc.org 2012-10-25 21:31:31 +00:00
parent a3ae6dc846
commit a5d4c31735

View File

@ -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;
}