[FFmpeg-devel] [PATCH] Compile libswscale without MMX, MMX2 and 3DNOW code

Carl Eugen Hoyos cehoyos
Sun Jun 10 03:10:48 CEST 2007


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > Currently, libswscale is always compiled with MMX, MMX2 and 3DNOW
> > support, even when they where deactivated during configure.
> > 
> > Attached patch tries to fix this by using COMPILE_MMX etc. as does
> > libpostproc.
> > 
> > Please comment, Carl Eugen
> if we do want COMPILE_* defines they should mabybe be set at a more central
> place, also the MPLAYER_CONFIG_H is not really truly beautifull
> iam already seeing long lists of such checks with 500 different player names
> in them ...

#if !defined(MPLAYER_CONFIG_H)
should actually have been
It is clearly the players responsibility to set HAVE_* correctly.
Would that be acceptable? If not, where should COMPILE_* go?

Thank you, Carl Eugen

More information about the ffmpeg-devel mailing list