Fixing build issus on non-Win

TBR: bjornv
Review URL: https://webrtc-codereview.appspot.com/460005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1940 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
niklas.enbom@webrtc.org 2012-03-26 08:45:47 +00:00
parent 5398d9583b
commit 40197d7b3b
2 changed files with 4 additions and 4 deletions

View File

@ -3889,8 +3889,8 @@ int Channel::StartRecordingPlayout(const char* fileName,
const WebRtc_UWord32 notificationTime(0); // Not supported in VoE
CodecInst dummyCodec={100,"L16",16000,320,1,320000};
if (codecInst != NULL &&
(codecInst->channels < 1) || (codecInst->channels > 2))
if ((codecInst != NULL) &&
((codecInst->channels < 1) || (codecInst->channels > 2)))
{
_engineStatisticsPtr->SetLastError(
VE_BAD_ARGUMENT, kTraceError,

View File

@ -342,8 +342,8 @@ int OutputMixer::StartRecordingPlayout(const char* fileName,
const WebRtc_UWord32 notificationTime(0);
CodecInst dummyCodec={100,"L16",16000,320,1,320000};
if (codecInst != NULL &&
(codecInst->channels < 1) || (codecInst->channels > 2))
if ((codecInst != NULL) &&
((codecInst->channels < 1) || (codecInst->channels > 2)))
{
_engineStatisticsPtr->SetLastError(
VE_BAD_ARGUMENT, kTraceError,