Revision a1b914b2 libavcodec/nellymoserdec.c
libavcodec/nellymoserdec.c  

279  279 
for (i=0 ; i<NELLY_BANDS ; i++) { 
280  280 
if (i > 0) 
281  281 
val += nelly_delta_table[get_bits(&s>gb, 5)]; 
282 
pval = pow(2, val/2048) * s>scale_bias; 

282 
pval = pow(2, val/2048) * s>scale_bias;


283  283 
for (j = 0; j < nelly_band_sizes_table[i]; j++) { 
284  284 
*bptr++ = val; 
285  285 
*pptr++ = pval; 
...  ...  
298  298 
for (j = 0; j < NELLY_FILL_LEN; j++) { 
299  299 
if (bits[j] <= 0) { 
300  300 
aptr[j] = M_SQRT1_2*pows[j]; 
301 
if (!(av_random(&s>random_state) & 1))


301 
if (av_random(&s>random_state) & 1)


302  302 
aptr[j] *= 1.0; 
303  303 
} else { 
304  304 
v = get_bits(&s>gb, bits[j]); 
305 
aptr[j] = dequantization_table[(1<<bits[j])1+v]*pows[j];


305 
aptr[j] = dequantization_table[(1<<bits[j])1+v]*pows[j]; 

306  306 
} 
307  307 
} 
308  308 
memset(&aptr[NELLY_FILL_LEN], 0, 
Also available in: Unified diff