[Ffmpeg-devel] roundf on solaris
Benjamin Larsson
banan
Wed Nov 9 13:35:50 CET 2005
Hi,
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()?
>
>niki
>
>
please send a patch.
MvH
Benjamin Larsson
More information about the ffmpeg-devel
mailing list