aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>2011-11-05 02:23:06 +0600
committerMichael Niedermayer <michaelni@gmx.at>2011-11-11 03:26:12 +0100
commita868b6fea93cb57e5cf88a154db3079c6a48fe58 (patch)
tree11eb368360279c67a1b878e81e2226171e552d8a
parent91528664552939ee2c2f95a9a7bad2ee911ed404 (diff)
downloadffmpeg-a868b6fea93cb57e5cf88a154db3079c6a48fe58.tar.gz
Analysis and spec comparison
(cherry picked from commit 6b05ea8b690ecab0e98924f0887f24311843d080) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/wmalosslessdec.c6
1 files 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];