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

Michael Niedermayer michaelni
Sat Jul 21 14:02:13 CEST 2007


Hi

On Fri, Jul 20, 2007 at 10:04:49AM +0800, Zuxy Meng wrote:
> Hi,
> 
> 2007/7/19, Michael Niedermayer <michaelni at gmx.at>:
> > Hi
> >
> > On Thu, Jul 19, 2007 at 10:59:05PM +0800, Zuxy Meng wrote:
> > > 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().
> >
> > yes, after you show a failure of random() where rand() succeeds
> 
> e.g. MinGW32

mingw32 maintainer?
if you prefer rand() then iam ok with changing random() to rand()

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070721/face29d3/attachment.pgp>



More information about the ffmpeg-devel mailing list