[Ffmpeg-devel] roundf on solaris

Benjamin Larsson banan
Wed Nov 9 13:35:50 CET 2005


Niki Waibel wrote:

>there is a problem when compiling ffmpeg on solaris.
>solaris up to (incl) 9 does NOT have:
>        roundf()
>i work around that issue by using:
>        echo "#define roundf(a) ((fmod(a,1)<0.5)?floor(a):ceil(a))" >> config.h
>after i've run configure.
>could you include a test in configure for roundf()?
please send a patch.

Benjamin Larsson

More information about the ffmpeg-devel mailing list