aboutsummaryrefslogtreecommitdiffstats
path: root/libFDK/src
diff options
context:
space:
mode:
authorFraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de>2019-10-18 14:05:57 +0200
committerJean-Michel Trivi <jmtrivi@google.com>2019-10-18 10:59:05 -0700
commit418526638abb80291feb502b91d13b52aaa2dc9d (patch)
treef849bdfc70134d630935214c1153103b11ad4216 /libFDK/src
parentb2f2a109d3546a1f412fda3a3f41abc6bdb4f949 (diff)
downloadfdk-aac-418526638abb80291feb502b91d13b52aaa2dc9d.tar.gz
fdk-aac-418526638abb80291feb502b91d13b52aaa2dc9d.tar.bz2
fdk-aac-418526638abb80291feb502b91d13b52aaa2dc9d.zip
Initialize scale variable in qmfForwardModulationLP_even() and qmfInverseModulationLP_even() which is updated in dct/fft processing.
Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Id294afb1ac740abf6000d7286e0f95c8b13a7eb8
Diffstat (limited to 'libFDK/src')
-rw-r--r--libFDK/src/qmf.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libFDK/src/qmf.cpp b/libFDK/src/qmf.cpp
index 6fca043..69f7e05 100644
--- a/libFDK/src/qmf.cpp
+++ b/libFDK/src/qmf.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
@@ -244,7 +244,7 @@ static void qmfForwardModulationLP_even(
int i;
int L = anaQmf->no_channels;
int M = L >> 1;
- int scale;
+ int scale = 0;
FIXP_DBL accu;
const FIXP_DBL *timeInTmp1 = (FIXP_DBL *)&timeIn[3 * M];
@@ -603,7 +603,7 @@ inline static void qmfInverseModulationLP_even(
int i;
int L = synQmf->no_channels;
int M = L >> 1;
- int scale;
+ int scale = 0;
FIXP_DBL tmp;
FIXP_DBL *RESTRICT tReal = pTimeOut;
FIXP_DBL *RESTRICT tImag = pTimeOut + L;