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

Andrea Palmatè andrea at amigasoft.net
Thu Apr 5 19:34:40 CEST 2007


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?

Andrea Palmatè

More information about the MPlayer-dev-eng mailing list