Mercurial > libavcodec.hg
comparison binkaudio.c @ 11582:23cad4157bfb libavcodec
Make code using 1d-DCT consistent with the API change
author | vitor |
---|---|
date | Sat, 03 Apr 2010 15:04:15 +0000 |
parents | 8a4984c5cacc |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11581:998691d7f8f5 | 11582:23cad4157bfb |
---|---|
125 s->coeffs_ptr[i] = s->coeffs + i * s->frame_len; | 125 s->coeffs_ptr[i] = s->coeffs + i * s->frame_len; |
126 | 126 |
127 if (CONFIG_BINKAUDIO_RDFT_DECODER && avctx->codec->id == CODEC_ID_BINKAUDIO_RDFT) | 127 if (CONFIG_BINKAUDIO_RDFT_DECODER && avctx->codec->id == CODEC_ID_BINKAUDIO_RDFT) |
128 ff_rdft_init(&s->trans.rdft, frame_len_bits, DFT_C2R); | 128 ff_rdft_init(&s->trans.rdft, frame_len_bits, DFT_C2R); |
129 else if (CONFIG_BINKAUDIO_DCT_DECODER) | 129 else if (CONFIG_BINKAUDIO_DCT_DECODER) |
130 ff_dct_init(&s->trans.dct, frame_len_bits, 1); | 130 ff_dct_init(&s->trans.dct, frame_len_bits, DCT_III); |
131 else | 131 else |
132 return -1; | 132 return -1; |
133 | 133 |
134 return 0; | 134 return 0; |
135 } | 135 } |