diff options
author | Mashiat Sarker Shakkhar <shahriman_ams@yahoo.com> | 2011-11-05 02:22:21 +0600 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-11 03:25:30 +0100 |
commit | fd9ea0402cfc9d68f5ec4be311772f5e46a96486 (patch) | |
tree | c9e8a7e1abe00ed7f16a594c7b0b168da477df94 | |
parent | 1f273373ec064be0281c81316adef9f7990129d4 (diff) | |
download | ffmpeg-fd9ea0402cfc9d68f5ec4be311772f5e46a96486.tar.gz |
Add buffers to context necessary for reverting cdmls and mclms filter
-rw-r--r-- | libavcodec/wmalosslessdec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c index dd13aced42..65ae9562c5 100644 --- a/libavcodec/wmalosslessdec.c +++ b/libavcodec/wmalosslessdec.c @@ -239,6 +239,8 @@ typedef struct WmallDecodeCtx { int8_t mclms_scaling; int16_t mclms_coeffs[128]; int16_t mclms_coeffs_cur[4]; + int mclms_prevvalues[64]; // FIXME: should be 32-bit / 16-bit depending on bit-depth + int16_t mclms_updates[64]; int movave_scaling; int quant_stepsize; @@ -249,6 +251,8 @@ typedef struct WmallDecodeCtx { int coefsend; int bitsend; int16_t coefs[256]; + int lms_prevvalues[512]; // FIXME: see above + int16_t lms_updates[512]; // and here too } cdlms[2][9]; |