diff options
Diffstat (limited to 'libSBRenc')
-rw-r--r-- | libSBRenc/src/env_est.cpp | 1 | ||||
-rw-r--r-- | libSBRenc/src/sbr_encoder.cpp | 2 |
2 files changed, 2 insertions, 1 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 }; diff --git a/libSBRenc/src/sbr_encoder.cpp b/libSBRenc/src/sbr_encoder.cpp index 71aab78..c7c5797 100644 --- a/libSBRenc/src/sbr_encoder.cpp +++ b/libSBRenc/src/sbr_encoder.cpp @@ -1939,7 +1939,7 @@ INT sbrEncoder_Init( - if ( aot==AOT_PS ) { + if ( aot==AOT_PS || aot==AOT_DABPLUS_PS ) { usePs = 1; } if ( aot==AOT_ER_AAC_ELD ) { |