aboutsummaryrefslogtreecommitdiffstats
path: root/libAACdec/src/usacdec_lpd.cpp
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2019-09-04 13:33:32 -0700
committerXin Li <delphij@google.com>2019-09-04 13:33:32 -0700
commita209adb315f970aa97044a82551a6f5617d61ded (patch)
treefa62c4f58bc140ba5c0a27e2c913d3ea0a5bfe98 /libAACdec/src/usacdec_lpd.cpp
parentc2eb64586d6dfc0f067ea66631b38d1922a106ed (diff)
parent62661035192a7f66b3722d8a1fd365391a35f292 (diff)
downloadfdk-aac-a209adb315f970aa97044a82551a6f5617d61ded.tar.gz
fdk-aac-a209adb315f970aa97044a82551a6f5617d61ded.tar.bz2
fdk-aac-a209adb315f970aa97044a82551a6f5617d61ded.zip
DO NOT MERGE - Merge Android 10 into master
Bug: 139893257 Change-Id: I7e02014b30f1ae5d19dbb7126ebb2a69c411fe5c
Diffstat (limited to 'libAACdec/src/usacdec_lpd.cpp')
-rw-r--r--libAACdec/src/usacdec_lpd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libAACdec/src/usacdec_lpd.cpp b/libAACdec/src/usacdec_lpd.cpp
index 2110172..e0a2631 100644
--- a/libAACdec/src/usacdec_lpd.cpp
+++ b/libAACdec/src/usacdec_lpd.cpp
@@ -1222,7 +1222,7 @@ AAC_DECODER_ERROR CLpdChannelStream_Read(
(INT)(samplingRate * PIT_MIN_12k8 + (FSCALE_DENOM / 2)) / FSCALE_DENOM -
(INT)PIT_MIN_12k8;
- if ((samplingRate < FAC_FSCALE_MIN) || (samplingRate > FAC_FSCALE_MAX)) {
+ if ((samplingRate < 6000) || (samplingRate > 24000)) {
error = AAC_DEC_PARSE_ERROR;
goto bail;
}