diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2018-12-28 15:11:18 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-12-28 15:11:18 -0800 |
commit | a129f9b2662114c59b63a7b2d2a7266ce10bc29a (patch) | |
tree | a0e16e29ce8e416af0c353a18b142fad7c12c984 | |
parent | f5512132f3850ab06a13b9e541cac51f6f389bf2 (diff) | |
parent | c19c36cbfc81c35d5c00d8e2b2a4f2456e278887 (diff) | |
download | fdk-aac-a129f9b2662114c59b63a7b2d2a7266ce10bc29a.tar.gz fdk-aac-a129f9b2662114c59b63a7b2d2a7266ce10bc29a.tar.bz2 fdk-aac-a129f9b2662114c59b63a7b2d2a7266ce10bc29a.zip |
Merge "Reset all noisefloor levels in leanSbrConcealment()"
am: c19c36cbfc
Change-Id: I8db91269800f92a2ca679cceb66cd52605b1a24e
-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, |