From 0de1ee3830dc6dd7a853b6942661058e85ca2c29 Mon Sep 17 00:00:00 2001 From: "tina.legrand@webrtc.org" Date: Mon, 28 May 2012 11:37:50 +0000 Subject: [PATCH] NetEQ: Remove an unnecessary condition, to fix a clang warning This is a duplicate of issue 606005: https://webrtc-codereview.appspot.com/606005/ BUG= TEST=neteq_unittests Review URL: https://webrtc-codereview.appspot.com/605005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2305 4adac7df-926f-26a2-2b94-8c16560cd09d --- src/modules/audio_coding/neteq/automode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/audio_coding/neteq/automode.c b/src/modules/audio_coding/neteq/automode.c index da127e06b5..815739e5d8 100644 --- a/src/modules/audio_coding/neteq/automode.c +++ b/src/modules/audio_coding/neteq/automode.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. + * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source @@ -60,7 +60,7 @@ int WebRtcNetEQ_UpdateIatStatistics(AutomodeInst_t *inst, int maxBufLen, /* Wrong timestamp or sequence order; revert to backup plan */ packetLenSamp = inst->packetSpeechLenSamp; /* use stored value */ } - else if (timeStamp > inst->lastTimeStamp) + else { /* calculate timestamps per packet */ packetLenSamp = (WebRtc_Word16) WebRtcSpl_DivU32U16(timeStamp - inst->lastTimeStamp,