aboutsummaryrefslogtreecommitdiffstats
path: root/libSBRenc
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2013-12-14 17:32:17 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-09 14:01:13 +0200
commitc89fb86cefb19ac9cf198c1e5cc31a85beab072e (patch)
tree74a5bd821b8a2823d6a0391066bce9fca23e6f35 /libSBRenc
parenta0bd8aa3b6339082fbe9d830264839fa50c0a4b7 (diff)
downloadfdk-aac-c89fb86cefb19ac9cf198c1e5cc31a85beab072e.tar.gz
fdk-aac-c89fb86cefb19ac9cf198c1e5cc31a85beab072e.tar.bz2
fdk-aac-c89fb86cefb19ac9cf198c1e5cc31a85beab072e.zip
Add DAB+ support
Diffstat (limited to 'libSBRenc')
-rw-r--r--libSBRenc/src/env_est.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libSBRenc/src/env_est.cpp b/libSBRenc/src/env_est.cpp
index 4fcda51..06d7373 100644
--- a/libSBRenc/src/env_est.cpp
+++ b/libSBRenc/src/env_est.cpp
@@ -1147,6 +1147,7 @@ FDKsbrEnc_extractSbrEnvelope2 (
SBR_STEREO_MODE stereoMode = h_con->stereoMode;
int nChannels = h_con->nChannels;
+ FDK_ASSERT(nChannels <= MAX_NUM_CHANNELS);
const int *v_tuning;
static const int v_tuningHEAAC[6] = { 0, 2, 4, 0, 0, 0 };