Initialize pred in lms_predict()
This commit is contained in:
parent
7a9807dea4
commit
a3a8d5e0c1
@ -789,7 +789,7 @@ static void reset_codec(WmallDecodeCtx *s)
|
|||||||
|
|
||||||
static int lms_predict(WmallDecodeCtx *s, int ich, int ilms)
|
static int lms_predict(WmallDecodeCtx *s, int ich, int ilms)
|
||||||
{
|
{
|
||||||
int32_t pred, icoef;
|
int32_t pred = 0, icoef;
|
||||||
int recent = s->cdlms[ich][ilms].recent;
|
int recent = s->cdlms[ich][ilms].recent;
|
||||||
|
|
||||||
for (icoef = 0; icoef < s->cdlms[ich][ilms].order; icoef++)
|
for (icoef = 0; icoef < s->cdlms[ich][ilms].order; icoef++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user