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

Michael Niedermayer michaelni
Thu Jul 19 17:49:21 CEST 2007


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- 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/20070719/dfb94f4e/attachment.pgp>



More information about the ffmpeg-devel mailing list