• Andreas Rheinhardt's avatar
    avutil/x86/emms: Don't unnecessarily include lavu/cpu.h · 6c694074
    Andreas Rheinhardt authored
    Only include it if it is needed, namely if __MMX__ is undefined.
    
    X86 is currently the only arch where lavu/cpu.h is basically
    automatically included (for internal development): #if ARCH_X86
    is true, lavu/internal.h (which is basically included everywhere)
    includes lavu/x86/emms.h which can mask missing inclusions
    of lavu/cpu.h if the developer works on x86/x64. This has happened
    in 8e825ec3 and also earlier
    (see 6d236588).
    By including said header only if necessary ordinary developer machines
    will behave like non-x86 arches, so that missing inclusions of cpu.h
    won't go unnoticed any more.
    Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
    6c694074
Name
Last commit
Last update
..
Makefile Loading commit data...
asm.h Loading commit data...
bswap.h Loading commit data...
cpu.c Loading commit data...
cpu.h Loading commit data...
cpuid.asm Loading commit data...
emms.asm Loading commit data...
emms.h Loading commit data...
fixed_dsp.asm Loading commit data...
fixed_dsp_init.c Loading commit data...
float_dsp.asm Loading commit data...
float_dsp_init.c Loading commit data...
imgutils.asm Loading commit data...
imgutils_init.c Loading commit data...
intmath.h Loading commit data...
intreadwrite.h Loading commit data...
lls.asm Loading commit data...
lls_init.c Loading commit data...
pixelutils.asm Loading commit data...
pixelutils.h Loading commit data...
pixelutils_init.c Loading commit data...
timer.h Loading commit data...
tx_float.asm Loading commit data...
tx_float_init.c Loading commit data...
w64xmmtest.h Loading commit data...
x86inc.asm Loading commit data...
x86util.asm Loading commit data...