diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2018-12-28 15:23:25 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-12-28 15:23:25 -0800 |
commit | a228b624b52bda9d05add8369d48211112379809 (patch) | |
tree | 3e62128cafa357430fea6003a4c7a8985aa49f84 | |
parent | 55efc0ade2f842b08e0cc5751bea2e206a1f408d (diff) | |
parent | f04d154c74d0cd70d400834020ccab3238e0af78 (diff) | |
download | fdk-aac-a228b624b52bda9d05add8369d48211112379809.tar.gz fdk-aac-a228b624b52bda9d05add8369d48211112379809.tar.bz2 fdk-aac-a228b624b52bda9d05add8369d48211112379809.zip |
Merge "Reset all noisefloor levels in leanSbrConcealment()" am: c19c36cbfc am: a129f9b266
am: f04d154c74
Change-Id: I12cbcb0284017c61ef25c8f31de62355fd4a354a
-rw-r--r-- | libSBRdec/src/env_dec.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libSBRdec/src/env_dec.cpp b/libSBRdec/src/env_dec.cpp index 88c92cd..05accd1 100644 --- a/libSBRdec/src/env_dec.cpp +++ b/libSBRdec/src/env_dec.cpp @@ -435,8 +435,8 @@ static void leanSbrConcealment( /* Noisefloor levels are always cleared ... */ h_sbr_data->domain_vec_noise[0] = 1; - for (i = 0; i < hHeaderData->freqBandData.nNfb; i++) - h_sbr_data->sbrNoiseFloorLevel[i] = FL2FXCONST_SGL(0.0f); + FDKmemclear(h_sbr_data->sbrNoiseFloorLevel, + sizeof(h_sbr_data->sbrNoiseFloorLevel)); /* ... and so are the sines */ FDKmemclear(h_sbr_data->addHarmonics, |