diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-12-27 22:09:51 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-12-27 22:09:51 +0100 |
commit | fdeb98597d4aa2c222df72691ba1cae2a70ceb74 (patch) | |
tree | b1fba9e6139507ade62bc09ed244e0acc8bcdeb7 /libSBRenc/src | |
parent | eec17fe051e1b2baac8d5755f2feb9bff2358640 (diff) | |
download | ODR-AudioEnc-fdeb98597d4aa2c222df72691ba1cae2a70ceb74.tar.gz ODR-AudioEnc-fdeb98597d4aa2c222df72691ba1cae2a70ceb74.tar.bz2 ODR-AudioEnc-fdeb98597d4aa2c222df72691ba1cae2a70ceb74.zip |
Add some asserts to FDK
Diffstat (limited to 'libSBRenc/src')
-rw-r--r-- | libSBRenc/src/env_est.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libSBRenc/src/env_est.cpp b/libSBRenc/src/env_est.cpp index 929f229..7dbf250 100644 --- a/libSBRenc/src/env_est.cpp +++ b/libSBRenc/src/env_est.cpp @@ -1005,6 +1005,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 }; |