aboutsummaryrefslogtreecommitdiffstats
path: root/libSBRdec/src/sbr_dec.cpp
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2018-12-27 14:39:49 -0800
committerandroid-build-merger <android-build-merger@google.com>2018-12-27 14:39:49 -0800
commitd6459f539c03df17c6aa75915d31a9d8c8adcca2 (patch)
tree34600137fef4e3746093c76605c3c9369a1fda7c /libSBRdec/src/sbr_dec.cpp
parentcce1e2106d431a65c02e056839b6b0a6aff50085 (diff)
parentf5512132f3850ab06a13b9e541cac51f6f389bf2 (diff)
downloadfdk-aac-d6459f539c03df17c6aa75915d31a9d8c8adcca2.tar.gz
fdk-aac-d6459f539c03df17c6aa75915d31a9d8c8adcca2.tar.bz2
fdk-aac-d6459f539c03df17c6aa75915d31a9d8c8adcca2.zip
Merge changes I97471c4d,I8a8626a8,I1f176740,I10da23ee,I9f9064fb am: ecc96969d7
am: f5512132f3 Change-Id: Ie01b6d6c881c4c9a52af921eee9f7ced6fd6880e
Diffstat (limited to 'libSBRdec/src/sbr_dec.cpp')
-rw-r--r--libSBRdec/src/sbr_dec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libSBRdec/src/sbr_dec.cpp b/libSBRdec/src/sbr_dec.cpp
index 2e18e6c..30611e7 100644
--- a/libSBRdec/src/sbr_dec.cpp
+++ b/libSBRdec/src/sbr_dec.cpp
@@ -1248,7 +1248,7 @@ resetSbrDec(HANDLE_SBR_DEC hSbrDec, HANDLE_SBR_HEADER_DATA hHeaderData,
hSbrDec->savedStates = 0;
- if (flags & SBRDEC_USAC_HARMONICSBR) {
+ if ((flags & SBRDEC_USAC_HARMONICSBR) && applySbrProc) {
sbrError = QmfTransposerReInit(hSbrDec->hHBE,
hHeaderData->freqBandData.freqBandTable,
hHeaderData->freqBandData.nSfb);