[FFmpeg-devel] [PATCH] Compile libswscale without MMX, MMX2 and 3DNOW code
Carl Eugen Hoyos
cehoyos
Sun Jun 10 14:32:15 CEST 2007
Hi!
On 2007-06-10 11:29, M?ns Rullg?rd wrote:
> Michael Niedermayer <michaelni@???> writes:
[...]
> > the problem is code like
> >
> > #define HAVE_MMX
> > #undef HAVE_MMX2
> > ...
> > #include "foobar_template.h"
> >
> > #define HAVE_MMX
> > #define HAVE_MMX2
> > ...
> > #include "foobar_template.h"
> >
> > this cant be just put under #ifdef HAVE_MMX2 ...
>
> Such code is conflicting with the intention of the HAVE_* macros.
> Temporary macros used with multiple inclusion of templates like this
> should use some other name.
Perhaps as in the attached patch?
Carl Eugen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patchsws2
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070610/96a5f8b6/attachment.asc>
More information about the ffmpeg-devel
mailing list