The code related to this reduces to:
offset = x-(floor(x)+.5)
assert(fabs(offset)<.50001))
so it is either just a precision problem (and then I wonder
why it would be showing up now?) or a rather obscure bug.
I changed it to .501.
Mark
>
> I too am having this problem on 3.88. I also find floating point comparisons
> such as this a bit troublesome.
>
> http://home.pacbell.net/tstokes
> Home of DsMidi
> Tom Stokes
> ----- Original Message -----
> From: "Jiri Hajek" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 11, 2001 12:51 AM
> Subject: [MP3 ENCODER] Assertion failed
>
>
> > Hi,
> >
> > I got following error from the latest LAME CVS version:
> >
> > Assertion failed!
> > File: util.c
> > Line: 627
> > Expression: fabs(offset)<=.50001
> >
> > I use lame_enc.dll, compiled by MSVC without NASM and in debug version. I
> > didn't try to study the problem, if you need better description or
> possibly
> > some debug information, please let me know.
> >
> > Thanks,
> > Jiri
> >
> > P.S.: There is written in the documentation that LAME isn't thread safe,
> but
> > in other part (maybe newer) is written that it is, so what is the truth?
> > (error described above is not thread related)
> >
> > --
> > MP3 ENCODER mailing list archive is at:
> > http://www.mail-archive.com/mp3encoder%40minnie.cs.adfa.edu.au/
>
> --
> MP3 ENCODER mailing list archive is at:
> http://www.mail-archive.com/mp3encoder%40minnie.cs.adfa.edu.au/
>
--
MP3 ENCODER mailing list archive is at:
http://www.mail-archive.com/mp3encoder%40minnie.cs.adfa.edu.au/