aboutsummaryrefslogtreecommitdiffstats
path: root/libAACdec/src/conceal.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-01-17 04:06:03 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-01-17 04:06:03 +0000
commit2dc3e5c1f26f578d4c09590cf3f1e01ec8c68105 (patch)
treed8d44cea21a91be5298acac5dd6439d5cea71b90 /libAACdec/src/conceal.cpp
parent29c3f50d140d9cb10ed40aa39ce5057bfe1f2f32 (diff)
parent1020e48d6e76506ac85a7678fe950ce7245d3aea (diff)
downloadfdk-aac-2dc3e5c1f26f578d4c09590cf3f1e01ec8c68105.tar.gz
fdk-aac-2dc3e5c1f26f578d4c09590cf3f1e01ec8c68105.tar.bz2
fdk-aac-2dc3e5c1f26f578d4c09590cf3f1e01ec8c68105.zip
Snap for 6142138 from 1020e48d6e76506ac85a7678fe950ce7245d3aea to rvc-release
Change-Id: Icb323d1007194553c9b7494024ae7fab252696ee
Diffstat (limited to 'libAACdec/src/conceal.cpp')
-rw-r--r--libAACdec/src/conceal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libAACdec/src/conceal.cpp b/libAACdec/src/conceal.cpp
index 5895cb8..ae98874 100644
--- a/libAACdec/src/conceal.cpp
+++ b/libAACdec/src/conceal.cpp
@@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
-© Copyright 1995 - 2018 Fraunhofer-Gesellschaft zur Förderung der angewandten
+© Copyright 1995 - 2019 Fraunhofer-Gesellschaft zur Förderung der angewandten
Forschung e.V. All rights reserved.
1. INTRODUCTION
@@ -1618,7 +1618,7 @@ static void CConcealment_ApplyRandomSign(int randomPhase, FIXP_DBL *spec,
}
if (packedSign & 0x1) {
- spec[i] = -spec[i];
+ spec[i] = -fMax(spec[i], (FIXP_DBL)(MINVAL_DBL + 1));
}
packedSign >>= 1;