Mercurial > libavcodec.hg
comparison wmadec.c @ 7546:97383e012cb9 libavcodec
remove mdct tmp buffer
author | lorenm |
---|---|
date | Tue, 12 Aug 2008 00:36:36 +0000 |
parents | 85ab7655ad4d |
children | 8226017a65ae |
comparison
equal
deleted
inserted
replaced
7545:2dca9201c400 | 7546:97383e012cb9 |
---|---|
686 int n4, index, n; | 686 int n4, index, n; |
687 | 687 |
688 n = s->block_len; | 688 n = s->block_len; |
689 n4 = s->block_len / 2; | 689 n4 = s->block_len / 2; |
690 if(s->channel_coded[ch]){ | 690 if(s->channel_coded[ch]){ |
691 s->mdct_ctx[bsize].fft.imdct_calc(&s->mdct_ctx[bsize], | 691 s->mdct_ctx[bsize].fft.imdct_calc(&s->mdct_ctx[bsize], s->output, s->coefs[ch]); |
692 s->output, s->coefs[ch], s->mdct_tmp); | |
693 }else | 692 }else |
694 memset(s->output, 0, sizeof(s->output)); | 693 memset(s->output, 0, sizeof(s->output)); |
695 | 694 |
696 /* multiply by the window and add in the frame */ | 695 /* multiply by the window and add in the frame */ |
697 index = (s->frame_len / 2) + s->block_pos - n4; | 696 index = (s->frame_len / 2) + s->block_pos - n4; |