aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-23 09:18:20 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-23 09:18:20 +0000
commit067c55bb46be8afccadc16c9b57d7d7ea264af25 (patch)
treea41fc42e8ed38428a4674c0d9d44725271ae0d98
parent64f3fac3a05b0fcbf3e4b2c34f92c261af0a7025 (diff)
Add forgotten emms which caused weird bugs like nan pts values.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19948 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpcodecs/vf_yadif.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmpcodecs/vf_yadif.c b/libmpcodecs/vf_yadif.c
index 9e2a577df4..43fd73cb05 100644
--- a/libmpcodecs/vf_yadif.c
+++ b/libmpcodecs/vf_yadif.c
@@ -366,6 +366,9 @@ static void filter(struct vf_priv_s *p, uint8_t *dst[3], int dst_stride[3], int
}
}
}
+#if defined(HAVE_MMX) && defined(NAMED_ASM_ARGS)
+ if(gCpuCaps.hasMMX2) asm volatile("emms \n\t" : : : "memory");
+#endif
}
static int config(struct vf_instance_s* vf,