Revision 408ee5a9
libavcodec/binkaudio.c  

164  164  
165  165 
for (ch = 0; ch < s>channels; ch++) { 
166  166 
FFTSample *coeffs = s>coeffs_ptr[ch]; 
167 
q = 0.0f; 

168  167 
coeffs[0] = get_float(gb) * s>root; 
169  168 
coeffs[1] = get_float(gb) * s>root; 
170  169  
...  ...  
174  173 
quant[i] = expf(FFMIN(value, 95) * 0.15289164787221953823f) * s>root; 
175  174 
} 
176  175  
177 
// find band (k) 

178 
for (k = 0; s>bands[k] < 1; k++) { 

179 
q = quant[k]; 

180 
} 

176 
k = 0; 

177 
q = quant[0]; 

181  178  
182  179 
// parse coefficients 
183  180 
i = 2; 
Also available in: Unified diff