[MPlayer-dev-eng] mpegaudiodec.c and llrint

Ivo ivop at euronet.nl
Thu Apr 5 22:03:38 CEST 2007

On Thursday 05 April 2007 19:34, Andrea Palmatè wrote:
> Hi,
> i have a problem whn compiling libavcodec with CONFIG_MPEGAUDIO_HP
> and llrint function.
> Since i don't have llrint function on newlib on OS4 platform i've
> tried to replace it with:
> static inline long long int llrint(double x)
> {
>      return (long long int)rint( x );
> }
> but i have scratchy sound when play a file. Disabling MPEGAUDIO_HP
> and llrint function all is ok.
> Anyone has a replacemento of that function?

Google for llrint.c.


(NetBSD's llrint is lrint with some different defines)

or the version of OpenSolaris:



More information about the MPlayer-dev-eng mailing list