> From: Mark Taylor [mailto:[EMAIL PROTECTED]]
>
> > Declaring avg_slots_per_frame "volatile" (line 547 in 
> lame.c) fixes it in
> > some cases. I was using the following test options, with 
> fools.wav as my
> > source
> 
> Delcaring it volatile (what does that do?) or static changes the
> results for me also (but doesn't fix the problem).  This is very
> strange, since how space for this variable is allocated should not
> matter at all.  More indication of some memory problems.

Declaring it volatile causes the compiler to optimise differently (being
more careful with the precision of temporaries, stores, etc.), altering the
value of frac_SpF, which I believe controls frame padding.
 
> Robert sent me this, does anyone know what this instruction means:
> 
>    0x805e2cc <calc_xmin+460>: fldl   0xfffffff0(%ebp)

It loads a floating point value from memory into a floating point register.
The value in memory is presumably invalid, so the CPU traps when it loads
it.

-- Mat.
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to