[MPlayer-dev-eng] [patch] just a little patch for solve compilation problem on FreeBSD
Rich Felker
dalias at aerifal.cx
Sun Nov 12 06:03:32 CET 2006
On Sun, Nov 12, 2006 at 05:28:35AM +0100, Diego Biurrun wrote:
> On Fri, Nov 10, 2006 at 02:14:15AM +0300, yopt wrote:
> >
> > I download MPlayer from svn (revision 20823) and compiled under FreeBSD
> > 6.0-Release. And I got some problems, I could not compile
> > libavcodec/imc.c with this error:
> >
> > libavcodec/libavcodec.a(imc.o)(.text+0x133): In function
> > `imc_decode_init': : undefined reference to `log2'
> > libavcodec/libavcodec.a(imc.o)(.text+0x67d): In function
> > `imc_decode_frame': : undefined reference to `log2'
> > libavcodec/libavcodec.a(imc.o)(.text+0xb91): In function
> > `imc_decode_frame': : undefined reference to `log2'
> >
> > because I have not function with a name "log2" in my <math.h>.
> >
> > I offer a little patch in attachment to solve this problem.
>
> This patch is untested, it breaks playback. Rejected.
This is because av_log2 is an integer log2, no?
Rich
More information about the MPlayer-dev-eng
mailing list