comparison nellymoserdec.c @ 10827:3d011a01a6a0 libavcodec

Add support for hard-coded MDCT-related ff_sine_windows tables.
author reimar
date Sat, 09 Jan 2010 13:28:04 +0000
parents 5e566408864c
children 34a65026fa06
comparison
equal deleted inserted replaced
10826:59c35482189e 10827:3d011a01a6a0
142 s->scale_bias = 1.0/(1*8); 142 s->scale_bias = 1.0/(1*8);
143 } 143 }
144 144
145 /* Generate overlap window */ 145 /* Generate overlap window */
146 if (!ff_sine_128[127]) 146 if (!ff_sine_128[127])
147 ff_sine_window_init(ff_sine_128, 128); 147 ff_init_ff_sine_windows(7);
148 148
149 avctx->sample_fmt = SAMPLE_FMT_S16; 149 avctx->sample_fmt = SAMPLE_FMT_S16;
150 avctx->channel_layout = CH_LAYOUT_MONO; 150 avctx->channel_layout = CH_LAYOUT_MONO;
151 return 0; 151 return 0;
152 } 152 }