aboutsummaryrefslogtreecommitdiffstats
path: root/libPCMutils/src
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 /libPCMutils/src
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 'libPCMutils/src')
-rw-r--r--libPCMutils/src/pcmdmx_lib.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libPCMutils/src/pcmdmx_lib.cpp b/libPCMutils/src/pcmdmx_lib.cpp
index b09a848..2070dbc 100644
--- a/libPCMutils/src/pcmdmx_lib.cpp
+++ b/libPCMutils/src/pcmdmx_lib.cpp
@@ -1043,6 +1043,7 @@ static PCMDMX_ERROR getMixFactors(const UCHAR inModeIsCfg,
case CH_MODE_3_2_1_0:
isValidCfg = FALSE;
err = PCMDMX_INVALID_MODE;
+ FDK_FALLTHROUGH;
case CH_MODE_3_0_3_1: /* chCfg 11 */
/* 6.1ch: C' = C; L' = L; R' = R; LFE' = LFE;
Ls' = Ls*dmix_a_idx + Cs*dmix_b_idx;
@@ -1080,9 +1081,11 @@ static PCMDMX_ERROR getMixFactors(const UCHAR inModeIsCfg,
LEFT_REAR_CHANNEL, FL2FXCONST_DMX(0.5f), 1);
dmxSetChannel(mixFactors, mixScales, LEFT_REAR_CHANNEL,
LEFT_REAR_CHANNEL, FL2FXCONST_DMX(0.5f), 1);
+ FDK_FALLTHROUGH;
case CH_MODE_5_2_1_0:
isValidCfg = FALSE;
err = PCMDMX_INVALID_MODE;
+ FDK_FALLTHROUGH;
case CH_MODE_5_0_2_1: /* chCfg 7 || 14 */
if (inChCfg == 14) {
/* 7.1ch Front Height: C' = C; Ls' = Ls; Rs' = Rs; LFE' = LFE;