aboutsummaryrefslogtreecommitdiffstats
path: root/libSBRdec/src/hbe.cpp
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2018-12-27 22:18:54 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-12-27 22:18:54 +0000
commitecc96969d7db139242dbba9930857ed5ce955b29 (patch)
treee78e88638c742d3dcd5f704d6ad50758d256a945 /libSBRdec/src/hbe.cpp
parentf828d3e16adfb4cb428b4f3a2c155f89853cebbe (diff)
parent0cebd077b61cc0946ea4062bf816defdffaef72b (diff)
downloadfdk-aac-ecc96969d7db139242dbba9930857ed5ce955b29.tar.gz
fdk-aac-ecc96969d7db139242dbba9930857ed5ce955b29.tar.bz2
fdk-aac-ecc96969d7db139242dbba9930857ed5ce955b29.zip
Merge changes I97471c4d,I8a8626a8,I1f176740,I10da23ee,I9f9064fb
* changes: Apply sbrDecoder_Parse() function for all explict SBR elements Call QMF transposer initialization only with successful SBR processing Add error path to generateFixFixOnly() Add missing break in order to avoid a fallthrough in setConcealMethod() Add FDK_FALLTHROUGH macro to prevent implicit-fallthrough compiler warnings
Diffstat (limited to 'libSBRdec/src/hbe.cpp')
-rw-r--r--libSBRdec/src/hbe.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libSBRdec/src/hbe.cpp b/libSBRdec/src/hbe.cpp
index 53b21c9..1141e9c 100644
--- a/libSBRdec/src/hbe.cpp
+++ b/libSBRdec/src/hbe.cpp
@@ -1056,6 +1056,10 @@ SBR_ERROR QmfTransposerReInit(HANDLE_HBE_TRANSPOSER hQmfTransposer,
const FIXP_QTW* tmp_t_sin;
hQmfTransposer->startBand = FreqBandTable[0][0];
+ FDK_ASSERT((!hQmfTransposer->bSbr41 && hQmfTransposer->startBand <= 32) ||
+ (hQmfTransposer->bSbr41 &&
+ hQmfTransposer->startBand <=
+ 16)); /* is checked by resetFreqBandTables() */
hQmfTransposer->stopBand = FreqBandTable[0][NSfb[0]];
hQmfTransposer->synthSize =