From a868b6fea93cb57e5cf88a154db3079c6a48fe58 Mon Sep 17 00:00:00 2001 From: Mashiat Sarker Shakkhar Date: Sat, 5 Nov 2011 02:23:06 +0600 Subject: [PATCH] Analysis and spec comparison (cherry picked from commit 6b05ea8b690ecab0e98924f0887f24311843d080) Signed-off-by: Michael Niedermayer --- libavcodec/wmalosslessdec.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c index 1b1e7b9e63..5bf2bbb1c2 100644 --- a/libavcodec/wmalosslessdec.c +++ b/libavcodec/wmalosslessdec.c @@ -253,14 +253,16 @@ 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]; + } 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]; int bV3RTM; - int is_channel_coded[2]; + int is_channel_coded[2]; // XXX: same question as above applies here too (and below) int transient[2]; int transient_pos[2];