[Ffmpeg-devel] [PATCH] Fix --disable-opts compilation

Panagiotis Issaris takis.issaris
Thu Mar 15 15:00:37 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Michael Niedermayer schreef:
>[...]
> #if defined(ARCH_X86) && defined(CONFIG_7REGS) && defined(CONFIG_EBX)
> 
> and in a central header
In avcodec.h seems a bit strange as that's a public header file. There's
no internal.h in libavcodec/ so can't put it in there either. Writing it
in config.h seems a bit weird. So, I've put it into libavutil/x86_cpu.h.
Does that same sane?

> #if defined(ARCH_X86_64) || (defined(ARCH_X86_32) && defined(CONFIG_EBX) && defined(CONFIG_EBP))
> #define CONFIG_7REGS 1
> #endif


With friendly regard,s
Takis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFF+VGF9kOxLuzz4CkRAokbAJjDoi4qhggZAwaPWCLXkEvrZdwCAJwN4phB
lMH/wfTLJIG2WCvAb7Vo1Q==
=jkrR
-----END PGP SIGNATURE-----




More information about the ffmpeg-devel mailing list