aboutsummaryrefslogtreecommitdiffstats
path: root/libAACdec/src/rvlcconceal.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2016-04-06 08:53:36 -0700
committerGlenn Kasten <gkasten@google.com>2016-04-18 16:10:57 -0700
commit76b428d4b46d4917caea81c8e262ae0fd326863a (patch)
tree3c6a3b7657ccf8a34c79167142f209f5b3ecea93 /libAACdec/src/rvlcconceal.cpp
parentc203653dcb46c1fbee0cf8bd719427cbe7fa4f7f (diff)
downloadfdk-aac-76b428d4b46d4917caea81c8e262ae0fd326863a.tar.gz
fdk-aac-76b428d4b46d4917caea81c8e262ae0fd326863a.tar.bz2
fdk-aac-76b428d4b46d4917caea81c8e262ae0fd326863a.zip
Remove redundant parentheses around == comparison operator
Bug: 28026175 Change-Id: I8ff9d8d1dd73933dc181f2745292a0a3398a2479
Diffstat (limited to 'libAACdec/src/rvlcconceal.cpp')
-rw-r--r--libAACdec/src/rvlcconceal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libAACdec/src/rvlcconceal.cpp b/libAACdec/src/rvlcconceal.cpp
index ae6b4da..cf33dd5 100644
--- a/libAACdec/src/rvlcconceal.cpp
+++ b/libAACdec/src/rvlcconceal.cpp
@@ -459,7 +459,7 @@ void BidirectionalEstimation_UseScfOfPrevFrameAsReference (
break;
case NOISE_HCB:
- if ( (pAacDecoderStaticChannelInfo->concealmentInfo.aRvlcPreviousCodebook[bnds]==NOISE_HCB) ) {
+ if ( pAacDecoderStaticChannelInfo->concealmentInfo.aRvlcPreviousCodebook[bnds]==NOISE_HCB ) {
commonMin = FDKmin(pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd[bnds],pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfBwd[bnds]);
pAacDecoderChannelInfo->pDynData->aScaleFactor[bnds] = FDKmin(commonMin, pAacDecoderStaticChannelInfo->concealmentInfo.aRvlcPreviousScaleFactor[bnds]);
} else {
@@ -669,7 +669,7 @@ void PredictiveInterpolation (
break;
case NOISE_HCB:
- if ( (pAacDecoderStaticChannelInfo->concealmentInfo.aRvlcPreviousCodebook[bnds]==NOISE_HCB) ) {
+ if ( pAacDecoderStaticChannelInfo->concealmentInfo.aRvlcPreviousCodebook[bnds]==NOISE_HCB ) {
commonMin = FDKmin(pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd[bnds],pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfBwd[bnds]);
pAacDecoderChannelInfo->pDynData->aScaleFactor[bnds] = FDKmin(commonMin, pAacDecoderStaticChannelInfo->concealmentInfo.aRvlcPreviousScaleFactor[bnds]);
}