comparison wma.c @ 4601:7b9ce6f729ae libavcodec

Rename WMADecodeContext to WMACodecContext
author mbardiaux
date Tue, 27 Feb 2007 09:54:48 +0000
parents 6ac364a4ce2b
children 5bcb6208ac58
comparison
equal deleted inserted replaced
4600:6ac364a4ce2b 4601:7b9ce6f729ae
62 *pint_table= int_table; 62 *pint_table= int_table;
63 } 63 }
64 64
65 int ff_wma_init(AVCodecContext * avctx, int flags2) 65 int ff_wma_init(AVCodecContext * avctx, int flags2)
66 { 66 {
67 WMADecodeContext *s = avctx->priv_data; 67 WMACodecContext *s = avctx->priv_data;
68 int i; 68 int i;
69 float *window; 69 float *window;
70 float bps1, high_freq; 70 float bps1, high_freq;
71 volatile float bps; 71 volatile float bps;
72 int sample_rate1; 72 int sample_rate1;
360 else return 9; 360 else return 9;
361 } 361 }
362 362
363 int ff_wma_end(AVCodecContext *avctx) 363 int ff_wma_end(AVCodecContext *avctx)
364 { 364 {
365 WMADecodeContext *s = avctx->priv_data; 365 WMACodecContext *s = avctx->priv_data;
366 int i; 366 int i;
367 367
368 for(i = 0; i < s->nb_block_sizes; i++) 368 for(i = 0; i < s->nb_block_sizes; i++)
369 ff_mdct_end(&s->mdct_ctx[i]); 369 ff_mdct_end(&s->mdct_ctx[i]);
370 for(i = 0; i < s->nb_block_sizes; i++) 370 for(i = 0; i < s->nb_block_sizes; i++)