From f826bb6fb2da6de69881dd6dbbbd06b24cb631cf Mon Sep 17 00:00:00 2001 From: "henrik.lundin@webrtc.org" Date: Thu, 29 Nov 2012 07:32:38 +0000 Subject: [PATCH] Fixing a bug related to RCU in NetEQ RCU was disabled due to that the RCU flag was overwritten with zero in the packet buffer. BUG=1156 TEST=trybots, neteq_unittests, audio_coding_module_test, audio_coding_unittests Review URL: https://webrtc-codereview.appspot.com/969012 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3193 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/audio_coding/neteq/packet_buffer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/webrtc/modules/audio_coding/neteq/packet_buffer.c b/webrtc/modules/audio_coding/neteq/packet_buffer.c index c4c301cd0..60e51985c 100644 --- a/webrtc/modules/audio_coding/neteq/packet_buffer.c +++ b/webrtc/modules/audio_coding/neteq/packet_buffer.c @@ -306,7 +306,6 @@ int WebRtcNetEQ_PacketBufferInsert(PacketBuf_t *bufferInst, const RTPPacket_t *R bufferInst->seqNumber[bufferInst->insertPosition] = RTPpacket->seqNumber; bufferInst->timeStamp[bufferInst->insertPosition] = RTPpacket->timeStamp; bufferInst->rcuPlCntr[bufferInst->insertPosition] = RTPpacket->rcuPlCntr; - bufferInst->rcuPlCntr[bufferInst->insertPosition] = 0; bufferInst->waitingTime[bufferInst->insertPosition] = 0; /* Update buffer parameters */ bufferInst->numPacketsInBuffer++;