[FFmpeg-devel] [PATCH] Coremake support - ffmpeg_nommx.patch (1/1) - ffmpeg-nommx.patch (1/1) - ff-cputest-noavconfig.patch (1/1)

Diego Biurrun diego
Thu Jun 7 19:22:57 CEST 2007


On Thu, Jun 07, 2007 at 03:56:26PM +0200, Michael Niedermayer wrote:
> 
> On Thu, Jun 07, 2007 at 08:57:46AM -0400, Ronald S. Bultje wrote:
> > 
> > In article <20070522090914.GT16391 at MichaelsNB>,
> >  Michael Niedermayer <michaelni at gmx.at> wrote:
> > 
> > > On Tue, May 22, 2007 at 12:59:36AM -0400, Ronald S. Bultje wrote:
> > > > 
> > > > In article <20070521171340.GK16391 at MichaelsNB>,
> > > >  Michael Niedermayer <michaelni at gmx.at> wrote:
> > > > > On Mon, May 21, 2007 at 09:40:19AM -0400, Ronald S. Bultje wrote:
> > > > > > dsptest in tests/ and cputest in lavc/i386/ can't be compiled, since 
> > > > > > they use internaly API (dsptest is about ten pages of warnings, so 
> > > > > > nevermind there), cputest is below:
> > > > > > 
> > > > > > cputest.c: In function 'mm_support':
> > > > > > cputest.c:83: error: 'MM_MMX' undeclared (first use in this function)
> > > > > > cputest.c:83: error: (Each undeclared identifier is reported only once
> > > > > > cputest.c:83: error: for each function it appears in.)
> > > > > > cputest.c:85: error: 'MM_MMXEXT' undeclared (first use in this function)
> > > > > > cputest.c:85: error: 'MM_SSE' undeclared (first use in this function)
> > > > > > cputest.c:87: error: 'MM_SSE2' undeclared (first use in this function)
> > > > > > cputest.c:89: error: 'MM_SSE3' undeclared (first use in this function)
> > > > > > cputest.c:91: error: 'MM_SSSE3' undeclared (first use in this function)
> > > > > > cputest.c:99: error: 'MM_3DNOW' undeclared (first use in this function)
> > > > > > cputest.c:101: error: 'MM_3DNOWEXT' undeclared (first use in this 
> > > > > > function)
> > > > > 
> > > > > this should be useing FF_MM_MMX and similar
> > > > 
> > > > There's a small problem there, avcodec.h defines those if HAVE_MMX is 
> > > 
> > > this is wrong they should always be defined, they are needed to set
> > > AVCodecContext.dsp_mask
> > 
> > Patch attached to fix it. Now, cputest compiles w/o HAVE_AV_CONFIG_H 
> > fine.
> 
> looks ok

Applied in several steps.

Diego




More information about the ffmpeg-devel mailing list