[FFmpeg-devel] [PATCH] Fix compilation of dct-test, fft-test and motion-test

Zuxy Meng zuxy.meng
Thu Jul 19 16:59:05 CEST 2007


Hi,

2007/7/19, Michael Niedermayer <michaelni at gmx.at>:
> On Wed, Jul 18, 2007 at 09:19:54PM -0400, Marc Hoffman wrote:
> > On 7/18/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> > >
> > > Hi
> > >
> > > On Wed, Jul 18, 2007 at 09:53:49PM +0200, Panagiotis Issaris wrote:
> > > > Hi,
> > > >
> > > > Attached patches implement two different ways to fix the compilation of
> > > > dct-test, fft-test and motion-test. I personally prefer the smallest
> > > patch.
> > >
> > > correct solution is to get rid of HAVE_AV_CONFIG_H failing that iam ok
> > > with
> > > #undef random
> >
> >
> > Interestingly this #undef random is how I worked around this as well.
> > Michael the way your suggesting is fairly obscure.  Thanks for pointing it
> > out.
>
> after thinking about it again , #undef random is really ok

Can rand() be used here? Not all platforms support random().

> just commit it
> removing HAVE_AV_CONFIG_H could be less than easy and might turn out to be
> too messy


-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6




More information about the ffmpeg-devel mailing list