summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a9f9b7f)
Without this the FPU state becomes trashed and causes mysterious
fate failures with cpuflags=0
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
{
av_unused int cpu_flags = av_get_cpu_flags();
{
av_unused int cpu_flags = av_get_cpu_flags();
- cavsdsp_init_mmx(c, avctx);
+ if (X86_MMX(cpu_flags))
+ cavsdsp_init_mmx(c, avctx);
+
#if HAVE_AMD3DNOW_INLINE
if (INLINE_AMD3DNOW(cpu_flags))
cavsdsp_init_3dnow(c, avctx);
#if HAVE_AMD3DNOW_INLINE
if (INLINE_AMD3DNOW(cpu_flags))
cavsdsp_init_3dnow(c, avctx);