aboutsummaryrefslogtreecommitdiffstats
path: root/libAACdec/src/usacdec_const.h
diff options
context:
space:
mode:
authorFraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de>2018-06-29 16:33:30 +0200
committerJean-Michel Trivi <jmtrivi@google.com>2018-12-26 19:19:34 -0500
commit8166502969e261270d098146c3fcae37d92d3c50 (patch)
treeb9dde5f7f2572b4184ea2e80733f6efa5d3329a0 /libAACdec/src/usacdec_const.h
parentf59fd73d4443b015b11a362c807f6b828658a799 (diff)
downloadfdk-aac-8166502969e261270d098146c3fcae37d92d3c50.tar.gz
fdk-aac-8166502969e261270d098146c3fcae37d92d3c50.tar.bz2
fdk-aac-8166502969e261270d098146c3fcae37d92d3c50.zip
Prevent overflow in usac filters
Bug: 112663886 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Ie7af65a1a556afb141ea5272f70bfea11881ac30
Diffstat (limited to 'libAACdec/src/usacdec_const.h')
-rw-r--r--libAACdec/src/usacdec_const.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libAACdec/src/usacdec_const.h b/libAACdec/src/usacdec_const.h
index c7dbae7..f68e808 100644
--- a/libAACdec/src/usacdec_const.h
+++ b/libAACdec/src/usacdec_const.h
@@ -115,6 +115,7 @@ amm-info@iis.fraunhofer.de
/* definitions which are independent of coreCoderFrameLength */
#define M_LP_FILTER_ORDER 16 /* LP filter order */
+#define LP_FILTER_SCALE 4 /* LP filter scale */
#define PIT_MIN_12k8 34 /* Minimum pitch lag with resolution 1/4 */
#define PIT_MAX_12k8 231 /* Maximum pitch lag for fs=12.8kHz */