aboutsummaryrefslogtreecommitdiffstats
path: root/libFDK
diff options
context:
space:
mode:
authorFraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de>2018-12-29 06:17:11 -0800
committerandroid-build-merger <android-build-merger@google.com>2018-12-29 06:17:11 -0800
commitca5723b92244e44a343febda95dbac59805c16bb (patch)
tree90d810bbbd8d6acc5d88ff369b11f3397af78a48 /libFDK
parentecba7fdd999225f21e7c1de6077d36302729c6bb (diff)
parent57939192c3378e57d4af8509a086f58e9721a7c1 (diff)
downloadfdk-aac-ca5723b92244e44a343febda95dbac59805c16bb.tar.gz
fdk-aac-ca5723b92244e44a343febda95dbac59805c16bb.tar.bz2
fdk-aac-ca5723b92244e44a343febda95dbac59805c16bb.zip
Merge "QMF configuration flag QMF_FLAG_MPSLDFB has always priority over QMF_FLAG_CLDFB" am: cf4098ed3b
am: 57939192c3 Change-Id: I799ffa0efb296051c963645e5070dfae67ef9b03
Diffstat (limited to 'libFDK')
-rw-r--r--libFDK/src/FDK_qmf_domain.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libFDK/src/FDK_qmf_domain.cpp b/libFDK/src/FDK_qmf_domain.cpp
index 409f222..dd63dab 100644
--- a/libFDK/src/FDK_qmf_domain.cpp
+++ b/libFDK/src/FDK_qmf_domain.cpp
@@ -889,10 +889,6 @@ QMF_DOMAIN_ERROR FDK_QmfDomain_Configure(HANDLE_FDK_QMF_DOMAIN hqd) {
!(hgc->flags & (QMF_FLAG_CLDFB | QMF_FLAG_MPSLDFB))) {
hgc->flags_requested |= QMF_FLAG_DOWNSAMPLED;
}
- if ((hgc->flags_requested & QMF_FLAG_MPSLDFB) &&
- (hgc->flags_requested & QMF_FLAG_CLDFB)) {
- hgc->flags_requested &= ~QMF_FLAG_CLDFB;
- }
hasChanged = 1;
}
@@ -901,6 +897,10 @@ QMF_DOMAIN_ERROR FDK_QmfDomain_Configure(HANDLE_FDK_QMF_DOMAIN hqd) {
/* 5. set requested flags */
if (hgc->flags != hgc->flags_requested) {
+ if ((hgc->flags_requested & QMF_FLAG_MPSLDFB) &&
+ (hgc->flags_requested & QMF_FLAG_CLDFB)) {
+ hgc->flags_requested &= ~QMF_FLAG_CLDFB;
+ }
hgc->flags = hgc->flags_requested;
hasChanged = 1;
}