[MPlayer-dev-eng] Patch for gcc 3.4 against MPlayer-1.0pre5

Moritz Bunkus moritz at bunkus.org
Mon Aug 23 09:36:10 CEST 2004


Hi,

> > #ifndef HAVE_LRINTF
> > long int lrintf(float x)
> > {
> >   return (long int)x;
> > }
> > #endif
> 
> Should definitly be inline.

Should be correct in the first place. Casting to long int is truncating
the value, not rounding it.

Mosu

-- 
If Darl McBride was in charge, he'd probably make marriage
unconstitutional too, since clearly it de-emphasizes the commercial
nature of normal human interaction, and probably is a major impediment
to the commercial growth of prostitution. - Linus Torvalds




More information about the MPlayer-dev-eng mailing list