summaryrefslogtreecommitdiff
path: root/apps/codecs/libwma/wmadeci.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libwma/wmadeci.c')
-rw-r--r--apps/codecs/libwma/wmadeci.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/codecs/libwma/wmadeci.c b/apps/codecs/libwma/wmadeci.c
index a96907135d..5677ac69f8 100644
--- a/apps/codecs/libwma/wmadeci.c
+++ b/apps/codecs/libwma/wmadeci.c
@@ -28,7 +28,6 @@
28#include "wmadec.h" 28#include "wmadec.h"
29#include "wmafixed.h" 29#include "wmafixed.h"
30#include "bitstream.h" 30#include "bitstream.h"
31#include "mdct2.h"
32 31
33 32
34#define VLCBITS 7 /*7 is the lowest without glitching*/ 33#define VLCBITS 7 /*7 is the lowest without glitching*/
@@ -1389,7 +1388,7 @@ static int wma_decode_block(WMADecodeContext *s, int32_t *scratch_buffer)
1389 n4 = s->block_len >>1; 1388 n4 = s->block_len >>1;
1390 1389
1391 /*faster IMDCT from Vorbis*/ 1390 /*faster IMDCT from Vorbis*/
1392 mdct_backward( (1 << (12-bsize)), (int*)(*(s->coefs))[ch], (int*)scratch_buffer); 1391 mdct_backward( (1 << (12-bsize)), (int32_t*)(*(s->coefs))[ch], (int32_t*)scratch_buffer);
1393 1392
1394 /*slower but more easily understood IMDCT from FFMPEG*/ 1393 /*slower but more easily understood IMDCT from FFMPEG*/
1395 //ff_imdct_calc(&s->mdct_ctx[bsize], 1394 //ff_imdct_calc(&s->mdct_ctx[bsize],
@@ -1435,7 +1434,7 @@ static int wma_decode_frame(WMADecodeContext *s, int32_t *samples)
1435 /* read each block */ 1434 /* read each block */
1436 s->block_num = 0; 1435 s->block_num = 0;
1437 s->block_pos = 0; 1436 s->block_pos = 0;
1438 1437
1439 1438
1440 for(;;) 1439 for(;;)
1441 { 1440 {