1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- apps/codecs/wmapro.c        (revision 27461)
+++ apps/codecs/wmapro.c        (working copy)
@@ -25,10 +25,7 @@

 CODEC_HEADER

-#define MAXSAMPLES  (1L << 12)  /* Max number of samples in a wma pro subframe */
-#define MAXCHANNELS 8
-#define BUFSIZE     MAXCHANNELS * MAXSAMPLES
-int32_t decoded[BUFSIZE];
+int32_t *dec[2]; /* pointers to the output buffers in WMAProDecodeCtx in wmaprodec.c */

 /* this is the codec entry point */
 enum codec_status codec_main(void)