diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c index 0642c9ce38..e543a79c21 100644 --- a/libavcodec/wmalosslessdec.c +++ b/libavcodec/wmalosslessdec.c @@ -250,7 +250,10 @@ typedef struct WmallDecodeCtx { int16_t coefs[256]; int lms_prevvalues[512]; // FIXME: see above int16_t lms_updates[512]; // and here too - } cdlms[2][9]; + int recent; + } cdlms[2][9]; /* XXX: Here, 2 is the max. no. of channels allowed, + 9 is the maximum no. of filters per channel. + Question is, why 2 if WMALL_MAX_CHANNELS == 8 */ int cdlms_ttl[2];