summaryrefslogtreecommitdiff
path: root/libavcodec/wmalosslessdec.c
diff options
context:
space:
mode:
authorMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>2011-11-05 02:32:56 +0600
committerMichael Niedermayer <michaelni@gmx.at>2011-11-11 03:26:19 +0100
commit8a41fdf12773b5e2981ea61d0d7aa2d87599e5ca (patch)
tree4967634b335103107cd8b7f76a1b7758c5932414 /libavcodec/wmalosslessdec.c
parenta868b6fea93cb57e5cf88a154db3079c6a48fe58 (diff)
Add .recent syntax element to cdlms struct
(cherry picked from commit a7820f3c5a0f4d2a5f005f9ca3766d29b2111380) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/wmalosslessdec.c')
-rw-r--r--libavcodec/wmalosslessdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c
index 5bf2bbb1c2..4ae30ea49a 100644
--- a/libavcodec/wmalosslessdec.c
+++ b/libavcodec/wmalosslessdec.c
@@ -253,6 +253,7 @@ typedef struct WmallDecodeCtx {
int16_t coefs[256];
int lms_prevvalues[512]; // FIXME: see above
int16_t lms_updates[512]; // and here too
+ 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 */