mirror of
https://github.com/mstorsjo/fdk-aac.git
synced 2025-01-05 20:37:13 +01:00
FDK: USAC CLpd_Reset uses rate constants
Use constants defined in libAACdec/src/usacdec_const.h Test: atest DecoderTestXheAac Change-Id: Idf1aa9fefb92b1abf64f50b044b2490b0d31b426
This commit is contained in:
parent
418526638a
commit
fc8faa38d9
@ -1228,7 +1228,7 @@ AAC_DECODER_ERROR CLpdChannelStream_Read(
|
||||
(INT)(samplingRate * PIT_MIN_12k8 + (FSCALE_DENOM / 2)) / FSCALE_DENOM -
|
||||
(INT)PIT_MIN_12k8;
|
||||
|
||||
if ((samplingRate < 6000) || (samplingRate > 24000)) {
|
||||
if ((samplingRate < FAC_FSCALE_MIN) || (samplingRate > FAC_FSCALE_MAX)) {
|
||||
error = AAC_DEC_PARSE_ERROR;
|
||||
goto bail;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user