Update talk to 58174641 together with http://review.webrtc.org/4319005/.
R=turaj@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/5809004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5287 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/modules/audio_coding/neteq/webrtc_neteq.c b/modules/audio_coding/neteq/webrtc_neteq.c
index de1ccd1..fad690d 100644
--- a/modules/audio_coding/neteq/webrtc_neteq.c
+++ b/modules/audio_coding/neteq/webrtc_neteq.c
@@ -1104,14 +1104,6 @@
/* If CN or internal CNG */
*outputType = kOutputCNG;
-#ifdef NETEQ_VAD
- }
- else if ( NetEqMainInst->DSPinst.VADInst.VADDecision == 0 )
- {
- /* post-decode VAD says passive speaker */
- *outputType = kOutputVADPassive;
-#endif /* NETEQ_VAD */
-
}
else if ((NetEqMainInst->DSPinst.w16_mode == MODE_EXPAND)
&& (NetEqMainInst->DSPinst.ExpandInst.w16_expandMuteFactor == 0))
@@ -1125,6 +1117,14 @@
/* PLC mode */
*outputType = kOutputPLC;
+#ifdef NETEQ_VAD
+ }
+ else if ( NetEqMainInst->DSPinst.VADInst.VADDecision == 0 )
+ {
+ /* post-decode VAD says passive speaker */
+ *outputType = kOutputVADPassive;
+#endif /* NETEQ_VAD */
+
}
else
{