aboutsummaryrefslogtreecommitdiffstats
path: root/libAACdec
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2016-04-20 16:28:31 -0700
committerGlenn Kasten <gkasten@google.com>2016-04-20 16:28:31 -0700
commit28099687b733eac90cff9273b6f8f660176e0784 (patch)
tree54f00c5c12777852b7dc3a7999e49e3c4bf5fc78 /libAACdec
parentbe845a7fc28b00793a59c3610c9f6ca8cd2e360e (diff)
parentad1e8985d954c289b1c5c0683ac92d5ec08c5e0d (diff)
downloadfdk-aac-28099687b733eac90cff9273b6f8f660176e0784.tar.gz
fdk-aac-28099687b733eac90cff9273b6f8f660176e0784.tar.bz2
fdk-aac-28099687b733eac90cff9273b6f8f660176e0784.zip
resolve merge conflicts of ad1e898 to nyc-dev-plus-aosp
Change-Id: If143807a233d47fb7fd269fd263a8a898109b060
Diffstat (limited to 'libAACdec')
-rw-r--r--libAACdec/src/block.cpp3
-rw-r--r--libAACdec/src/rvlcconceal.cpp4
2 files changed, 3 insertions, 4 deletions
diff --git a/libAACdec/src/block.cpp b/libAACdec/src/block.cpp
index 2965fa6..a19284e 100644
--- a/libAACdec/src/block.cpp
+++ b/libAACdec/src/block.cpp
@@ -329,8 +329,7 @@ AAC_DECODER_ERROR CBlock_ReadSectionData(HANDLE_FDK_BITSTREAM bs,
}
pNumLinesInSec[numLinesInSecIdx] = BandOffsets[top] - BandOffsets[band];
numLinesInSecIdx++;
- if (
- (sect_cb == BOOKSCL) )
+ if (sect_cb == BOOKSCL)
{
return AAC_DEC_INVALID_CODE_BOOK;
} else {
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]);
}