Mercurial > libavcodec.hg
comparison wmadec.c @ 9472:05663d250d5b libavcodec
Remove unused variable from wma_decode_block() found by CSA.
author | michael |
---|---|
date | Fri, 17 Apr 2009 15:35:32 +0000 |
parents | 54bc8a2727b0 |
children | 67a20f0eb42c |
comparison
equal
deleted
inserted
replaced
9471:b9e7aaa98610 | 9472:05663d250d5b |
---|---|
681 } | 681 } |
682 } | 682 } |
683 | 683 |
684 next: | 684 next: |
685 for(ch = 0; ch < s->nb_channels; ch++) { | 685 for(ch = 0; ch < s->nb_channels; ch++) { |
686 int n4, index, n; | 686 int n4, index; |
687 | 687 |
688 n = s->block_len; | |
689 n4 = s->block_len / 2; | 688 n4 = s->block_len / 2; |
690 if(s->channel_coded[ch]){ | 689 if(s->channel_coded[ch]){ |
691 ff_imdct_calc(&s->mdct_ctx[bsize], s->output, s->coefs[ch]); | 690 ff_imdct_calc(&s->mdct_ctx[bsize], s->output, s->coefs[ch]); |
692 }else if(!(s->ms_stereo && ch==1)) | 691 }else if(!(s->ms_stereo && ch==1)) |
693 memset(s->output, 0, sizeof(s->output)); | 692 memset(s->output, 0, sizeof(s->output)); |