From dd1a879de0c806fc237017ab0b6fc48de64c17d3 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 27 Dec 2015 22:24:50 +0100 Subject: Correct asserts in env_est.cpp --- libSBRenc/src/env_est.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libSBRenc/src/env_est.cpp b/libSBRenc/src/env_est.cpp index 7dbf250..e04fc71 100644 --- a/libSBRenc/src/env_est.cpp +++ b/libSBRenc/src/env_est.cpp @@ -1005,7 +1005,7 @@ FDKsbrEnc_extractSbrEnvelope2 ( SBR_STEREO_MODE stereoMode = h_con->stereoMode; int nChannels = h_con->nChannels; - FDK_ASSERT(nChannels < MAX_NUM_CHANNELS); + FDK_ASSERT(nChannels <= MAX_NUM_CHANNELS); const int *v_tuning; static const int v_tuningHEAAC[6] = { 0, 2, 4, 0, 0, 0 }; -- cgit v1.2.3