OSDN Git Service

Add .recent syntax element to cdlms struct
authorMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>
Fri, 4 Nov 2011 20:32:56 +0000 (02:32 +0600)
committerMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>
Sun, 20 Nov 2011 08:51:39 +0000 (14:51 +0600)
libavcodec/wmalosslessdec.c

index 0642c9c..e543a79 100644 (file)
@@ -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];