Fix build error in NetEQ when disabling NETEQ_CNG_CODEC
An #ifdef guard was missing, which caused NetEQ not to compile when NETEQ_CNG_CODEC was not defined. This is Issue 10 (http://code.google.com/p/webrtc/issues/detail?id=10). Review URL: http://webrtc-codereview.appspot.com/43002 git-svn-id: http://webrtc.googlecode.com/svn/trunk@91 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
a6f54fd726
commit
0f15aea0ea
@ -341,11 +341,13 @@ int WebRtcNetEQ_RecOutInternal(DSPInst_t *inst, WebRtc_Word16 *pw16_outData,
|
|||||||
inst->codec_ptr_inst.funcDecodeInit(inst->codec_ptr_inst.codec_state);
|
inst->codec_ptr_inst.funcDecodeInit(inst->codec_ptr_inst.codec_state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef NETEQ_CNG_CODEC
|
||||||
/* And reset CNG */
|
/* And reset CNG */
|
||||||
if (inst->CNG_Codec_inst != NULL)
|
if (inst->CNG_Codec_inst != NULL)
|
||||||
{
|
{
|
||||||
WebRtcCng_InitDec(inst->CNG_Codec_inst);
|
WebRtcCng_InitDec(inst->CNG_Codec_inst);
|
||||||
}
|
}
|
||||||
|
#endif /*NETEQ_CNG_CODEC*/
|
||||||
}
|
}
|
||||||
|
|
||||||
fs_mult = WebRtcNetEQ_CalcFsMult(inst->fs);
|
fs_mult = WebRtcNetEQ_CalcFsMult(inst->fs);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user