While analysing LAME code I've found possible bug in psymodel.c. 

In the function 'compute_ffts()' there is a loop computing total energy of 
1024-point FFT. The loop is placed in line 305 and looks as follows:

for (j=11; j < HBLKSIZE; j++) totalenergy += fftenergy[j];

I'm wondering why 'j' (being a number of spectrum component) starts from 11.
It seems first 10 spectrum components are ignored for some reason. Or it is
just some typo and 'j' should start from 1?

-- 
Grzegorz "Krashan" Kraszewski
<[EMAIL PROTECTED]>

_______________________________________________
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to