[FFmpeg-cvslog] Add .recent syntax element to cdlms struct

Mashiat Sarker Shakkhar git at videolan.org
Sun Nov 20 16:01:41 CET 2011


ffmpeg | branch: master | Mashiat Sarker Shakkhar <shahriman_ams at yahoo.com> | Sat Nov  5 02:32:56 2011 +0600| [79b16e780d14a80becf666973784caaff2ca5aae] | committer: Mashiat Sarker Shakkhar

Add .recent syntax element to cdlms struct

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=79b16e780d14a80becf666973784caaff2ca5aae
---

 libavcodec/wmalosslessdec.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c
index 0642c9c..e543a79 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];



More information about the ffmpeg-cvslog mailing list